a question that can accelerate learning python?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • wangziqing1984@hotmail.com

    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!

  • Nick Dumas

    #2
    Re: a question that can accelerate learning python?

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

    Simple. dir(object)

    wangziqing1984@ 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

    iEYEARECAAYFAki DRGMACgkQLMI5fn dAv9g76ACdGJsxr SuaFot0SnHmlnFY aw7W
    muoAn0KZvyG2PgE 2hoaQZLIjD5YvBY uK
    =WFxU
    -----END PGP SIGNATURE-----

    Comment

    Working...