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