Python's system module Builtins Quick View

Source: Internet
Author: User

Python is a simple language, because there are a lot of modules in use, as well as Linux also have to understand the use of command "man", "help", and Python also has.

Use the following command to view >>> dir (__builtins__)

>>> dir (__builtins__)

[' Arithmeticerror ', ' assertionerror ', ' attributeerror ', ' baseexception ', ' blockingioerror ', ' brokenpipeerror ', ' Buffererror ', ' byteswarning ', ' childprocesserror ', ' connectionabortederror ', ' connectionerror ', ' Connectionrefusederror ', ' connectionreseterror ', ' deprecationwarning ', ' eoferror ', ' ellipsis ', ' EnvironmentError ', ' Exception ', ' False ', ' fileexistserror ', ' filenotfounderror ', ' floatingpointerror ', ' futurewarning ', ' generatorexit ', ' IOError ', ' importerror ', ' importwarning ', ' indentationerror ', ' indexerror ', ' interruptederror ', ' isadirectoryerror ' , ' Keyerror ', ' keyboardinterrupt ', ' lookuperror ', ' memoryerror ', ' nameerror ', ' None ', ' notadirectoryerror ', ' Notimplemented ', ' notimplementederror ', ' oserror ', ' overflowerror ', ' pendingdeprecationwarning ', ' PermissionError ', ' Processlookuperror ', ' referenceerror ', ' resourcewarning ', ' runtimeerror ', ' runtimewarning ', ' stopiteration ', ' SyntaxError ', ' syntaxwarning ', ' systemerror ', ' systemexit ', ' taberror ', ' timeouterror ', ' True ', ' TypeError', ' unboundlocalerror ', ' unicodedecodeerror ', ' unicodeencodeerror ', ' unicodeerror ', ' unicodetranslateerror ', ' Unicodewarning ', ' userwarning ', ' valueerror ', ' Warning ', ' windowserror ', ' zerodivisionerror ', ' __build_class__ ', ' __ Debug__ ', ' __doc__ ', ' __import__ ', ' __loader__ ', ' __name__ ', ' __package__ ', ' __spec__ ', ' abs ', ' all ', ' any ', ' ASCII ', ' Bi n ', ' bool ', ' bytearray ', ' bytes ', ' callable ', ' Chr ', ' Classmethod ', ' compile ', ' complex ', ' copyright ', ' credits ', ' Delatt ' R ', ' Dict ', ' dir ', ' divmod ', ' Enumerate ', ' eval ', ' exec ', ' exit ', ' filter ', ' float ', ' format ', ' Frozenset ', ' getattr ', ' GL Obals ', ' hasattr ', ' hash ', ' help ', ' hex ', ' id ', ' input ', ' int ', ' isinstance ', ' issubclass ', ' iter ', ' Len ', ' License ', ' lis T ', ' locals ', ' map ', ' Max ', ' Memoryview ', ' min ', ' Next ', ' object ', ' Oct ', ' Open ', ' ord ', ' pow ', ' print ', ' property ', ' Quit ', ' range ', ' repr ', ' reversed ', ' round ', ' Set ', ' setattr ', ' slice ', ' sorted ', ' staticmethod ', ' str ', ' Sum ', ' super ', ' TUPL E ', ' type ', ' vars ', ' zip ']

These are Python's system modules.

Want to query the command meaning:>>> Help (input)

>>> Help (Input)

Help on built-in function input in module builtins:


Input (...)

Input ([prompt]), string

Read a string from the standard input. The trailing newline is stripped.

If the user hits EOF (unix:ctl-d, Windows:ctl-z+return), raise Eoferror.

On Unix, the GNU readline is used if enabled. The prompt string, if given,

is printed without a trailing newline before reading.

Then you can go to Google or Baidu to check the order you want to check.


This article is from the "10816833" blog, please be sure to keep this source http://10826833.blog.51cto.com/10816833/1795104

Python's system module Builtins Quick View

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.