Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2008, 02:55 PM
wangziqing1984@hotmail.com
Guest
 
Posts: n/a
Default a question that can accelerate learning python?

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!

  #2  
Old July 20th, 2008, 03:05 PM
Nick Dumas
Guest
 
Posts: n/a
Default Re: a question that can accelerate learning python?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simple. dir(object)

wangziqing1984@hotmail.com wrote:
Quote:
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-----
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles