By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,479 Members | 1,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,479 IT Pros & Developers. It's quick & easy.

a question that can accelerate learning python?

P: n/a
I am new to python .But interest in it .
I think if python could provide a method that show every method of an
object or an module.it will be great! We can save a lot of time to
find the document
take win32com as an example:
if code like this
"win32com.query"(or some other name that means query)
it would return a list of module or method that win32com have.
Does python have implement such interface yet? 'cause I have not so
familiar with python.
best wishes!

Jul 20 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simple. dir(object)

wa************@hotmail.com wrote:
I am new to python .But interest in it .
I think if python could provide a method that show every method of an
object or an module.it will be great! We can save a lot of time to
find the document
take win32com as an example:
if code like this
"win32com.query"(or some other name that means query)
it would return a list of module or method that win32com have.
Does python have implement such interface yet? 'cause I have not so
familiar with python.
best wishes!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiDRGMACgkQLMI5fndAv9g76ACdGJsxrSuaFo t0SnHmlnFYaw7W
muoAn0KZvyG2PgE2hoaQZLIjD5YvBYuK
=WFxU
-----END PGP SIGNATURE-----
Jul 20 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.