Re: [Tutor] displaying properties/methods

2005-11-18 Thread w chun
> 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

Re: [Tutor] displaying properties/methods

2005-11-17 Thread Alan Gauld
> 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?

[Tutor] displaying properties/methods

2005-11-17 Thread Gregorius Gede Wiranarada
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