> dir(sys)
> help(sys)
to further elaborate, dir() will tell you what it has, and help() will
dump pretty-printed doc strings for you.
good luck!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2006,2001
http://corepython.com
> Hi all, i'm a newbie to python and now learning OOP. How do i display
> methods or properties that is owned by a class or a module? for example: i
> know that module sys has a property/method called path. i want to know
> what other methods it has, how do i find them from python command line?
Hi all, i'm a newbie to python and now learning OOP. How do i display
methods or properties that is owned by a class or a module? for example: i
know that module sys has a property/method called path. i want to know what
other methods it has, how do i find them from python command line?
thx.
r