[Baypiggies] How to find the constants availiabe for a given module

Alfred Appiah aappiah at yahoo.com
Tue Feb 16 03:09:59 CET 2010


Hi,

 I am new to python and wanted to know if there a way to find out all the constants, functions  and classes  available for a given module. 

For example the string module supports the following constants and functions,

string.letters, 
string.digits 
string.whitespace
string.capwords()

and the only way I have been able to find out the classes and  functions available is by reading the python docs , I.E http://docs.python.org/library/string.html . Are there commands I can type in the interpreter to get this information also ?

Cheers Alfred 


More information about the Baypiggies mailing list