about in built function in python

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shakti kumar
    New Member
    • Apr 2007
    • 1

    #1

    about in built function in python

    what are scripts in IDLE python to assess all in built functions
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by shakti kumar
    what are scripts in IDLE python to assess all in built functions
    IDLE is the IDE that "comes with" Python. In the Python Shell window in IDLE you can do things like:
    Code:
    >>> help()
    
    Welcome to Python 2.4!  This is the online help utility.
    
    If this is your first time using Python, you should definitely check out
    the tutorial on the Internet at [url]http://www.python.org/doc/tut/[/url].
    
    Enter the name of any module, keyword, or topic to get help on writing
    Python programs and using Python modules.  To quit this help utility and
    return to the interpreter, just type "quit".
    
    To get a list of available modules, keywords, or topics, type "modules",
    "keywords", or "topics".  Each module also comes with a one-line summary
    of what it does; to list the modules whose summaries contain a given word
    such as "spam", type "modules spam".
    
    help> 
    <<< 'topics'
    
    Here is a list of available topics.  Enter any topic name to get more help.
    
    ASSERTION           DELETION            LOOPING             SEQUENCES
    ASSIGNMENT          DICTIONARIES        MAPPINGMETHODS      SHIFTING
    ATTRIBUTEMETHODS    DICTIONARYLITERALS  MAPPINGS            SLICINGS
    ATTRIBUTES          DYNAMICFEATURES     METHODS             SPECIALATTRIBUTES
    AUGMENTEDASSIGNMENT ELLIPSIS            MODULES             SPECIALIDENTIFIERS
    BACKQUOTES          EXCEPTIONS          NAMESPACES          SPECIALMETHODS
    BASICMETHODS        EXECUTION           NONE                STRINGMETHODS
    BINARY              EXPRESSIONS         NUMBERMETHODS       STRINGS
    BITWISE             FILES               NUMBERS             SUBSCRIPTS
    BOOLEAN             FLOAT               OBJECTS             TRACEBACKS
    CALLABLEMETHODS     FORMATTING          OPERATORS           TRUTHVALUE
    CALLS               FRAMEOBJECTS        PACKAGES            TUPLELITERALS
    CLASSES             FRAMES              POWER               TUPLES
    CODEOBJECTS         FUNCTIONS           PRECEDENCE          TYPEOBJECTS
    COERCIONS           IDENTIFIERS         PRINTING            TYPES
    COMPARISON          IMPORTING           PRIVATENAMES        UNARY
    COMPLEX             INTEGER             RETURNING           UNICODE
    CONDITIONAL         LISTLITERALS        SCOPING             
    CONVERSIONS         LISTS               SEQUENCEMETHODS1    
    DEBUGGING           LITERALS            SEQUENCEMETHODS2    
    
    help> 
    <<< 
    
    You are now leaving help and returning to the Python interpreter.
    If you want to ask for help on a particular object directly from the
    interpreter, you can type "help(object)".  Executing "help('string')"
    has the same effect as typing a particular string at the help> prompt.
    >>>

    Comment

    • ghostdog74
      Recognized Expert Contributor
      • Apr 2006
      • 511

      #3
      Originally posted by shakti kumar
      what are scripts in IDLE python to assess all in built functions
      to get a list of all the built-in functions, you can do this
      Code:
      >>> help(__builtins__)

      Comment

      Working...