#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    5
    Rep Power
    0

    Does anyone know all of the commands


    Please im begging u i want every single command known to python
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2004
    Location
    London, England
    Posts
    1,585
    Rep Power
    1373
    What do you mean by "command"? Python does not have commands as such.

    If you mean the Python keywords, then you can find that out from the keywords module:

    Code:
    >>> import keyword
    >>> keyword.kwlist
    ['and', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'exec', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'not', 'or', 'pass', 'print', 'raise', 'return', 'try', 'while', 'yield']
    >>>
    If you mean the builtin functions then you can find them at http://www.python.org/doc/2.3.3/lib/built-in-funcs.html.

    If you mean all the libraries as well, then RTFM at http://www.python.org/doc/2.3.3/lib/lib.html.

    If you want include all the third-party libraries and extensions, then you are out of luck, since I doubt a complete list exists in one place. Even if it did it would be out of date almost immediately, since new stuff is being written all the time.

    Dave - The Developers' Coach
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Posts
    624
    Rep Power
    35
    Also see the output of "python -h".
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    5
    Rep Power
    0
    Thanks a million guys

IMN logo majestic logo threadwatch logo seochat tools logo