Python Builtin function获得通过

python3 -c "import builtins;ff=open('test.txt','w');strlist=[(i+'\n') for i in (repr(builtins.__dict__)).split(',')];ff.writelines(strlist);ff.close();"

以下为builtin:

{'hasattr': <built-in function hasattr>
'float': <class 'float'>
'next': <built-in function next>
'InterruptedError': <class 'InterruptedError'>
'ReferenceError': <class 'ReferenceError'>
'IndentationError': <class 'IndentationError'>
'FloatingPointError': <class 'FloatingPointError'>
'input': <built-in function input>
'delattr': <built-in function delattr>
'zip': <class 'zip'>
'map': <class 'map'>
'set': <class 'set'>
'oct': <built-in function oct>
'repr': <built-in function repr>
'quit': Use quit() or Ctrl-Z plus Return to exit
'UnboundLocalError': <class 'UnboundLocalError'>
'NotADirectoryError': <class 'NotADirectoryError'>
'iter': <built-in function iter>
'object': <class 'object'>
'ProcessLookupError': <class 'ProcessLookupError'>
'copyright': Copyright (c) - Python Software Foundation.
All Rights Reserved. Copyright (c) BeOpen.com.
All Rights Reserved. Copyright (c) - Corporation for National Research Initiatives.
All Rights Reserved. Copyright (c) - Stichting Mathematisch Centrum
Amsterdam.
All Rights Reserved.
'SyntaxWarning': <class 'SyntaxWarning'>
'bin': <built-in function bin>
'enumerate': <class 'enumerate'>
'sum': <built-in function sum>
'AttributeError': <class 'AttributeError'>
'bytearray': <class 'bytearray'>
'len': <built-in function len>
'callable': <built-in function callable>
'filter': <class 'filter'>
'bool': <class 'bool'>
'range': <class 'range'>
'eval': <built-in function eval>
'ImportError': <class 'ImportError'>
'any': <built-in function any>
'setattr': <built-in function setattr>
'OSError': <class 'OSError'>
'NameError': <class 'NameError'>
'IndexError': <class 'IndexError'>
'StopAsyncIteration': <class 'StopAsyncIteration'>
'ascii': <built-in function ascii>
'TypeError': <class 'TypeError'>
'RecursionError': <class 'RecursionError'>
'chr': <built-in function chr>
'print': <built-in function print>
'NotImplemented': NotImplemented
'IOError': <class 'OSError'>
'ConnectionAbortedError': <class 'ConnectionAbortedError'>
'ValueError': <class 'ValueError'>
'reversed': <class 'reversed'>
'AssertionError': <class 'AssertionError'>
'staticmethod': <class 'staticmethod'>
'TimeoutError': <class 'TimeoutError'>
'UnicodeError': <class 'UnicodeError'>
'__import__': <built-in function __import__>
'complex': <class 'complex'>
'UnicodeTranslateError': <class 'UnicodeTranslateError'>
'ConnectionRefusedError': <class 'ConnectionRefusedError'>
'__build_class__': <built-in function __build_class__>
'BytesWarning': <class 'BytesWarning'>
'exit': Use exit() or Ctrl-Z plus Return to exit
'False': False
'str': <class 'str'>
'hash': <built-in function hash>
'FileExistsError': <class 'FileExistsError'>
'round': <built-in function round>
'getattr': <built-in function getattr>
'True': True
'SystemError': <class 'SystemError'>
'vars': <built-in function vars>
'dict': <class 'dict'>
'exec': <built-in function exec>
'classmethod': <class 'classmethod'>
'credits': Thanks to CWI
CNRI
BeOpen.com
Zope Corporation and a cast of thousands
for supporting Python development. See www.python.org for more information.
'memoryview': <class 'memoryview'>
'TabError': <class 'TabError'>
'max': <built-in function max>
'EOFError': <class 'EOFError'>
'None': None
'slice': <class 'slice'>
'ConnectionError': <class 'ConnectionError'>
'SyntaxError': <class 'SyntaxError'>
'bytes': <class 'bytes'>
'id': <built-in function id>
'tuple': <class 'tuple'>
'__loader__': <class '_frozen_importlib.BuiltinImporter'>
'Ellipsis': Ellipsis
'StopIteration': <class 'StopIteration'>
'abs': <built-in function abs>
'sorted': <built-in function sorted>
'BlockingIOError': <class 'BlockingIOError'>
'frozenset': <class 'frozenset'>
'open': <built-in function open>
'Warning': <class 'Warning'>
'divmod': <built-in function divmod>
'isinstance': <built-in function isinstance>
'compile': <built-in function compile>
'pow': <built-in function pow>
'all': <built-in function all>
'property': <class 'property'>
'EnvironmentError': <class 'OSError'>
'hex': <built-in function hex>
'UnicodeEncodeError': <class 'UnicodeEncodeError'>
'DeprecationWarning': <class 'DeprecationWarning'>
'OverflowError': <class 'OverflowError'>
'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>
'list': <class 'list'>
'FileNotFoundError': <class 'FileNotFoundError'>
'locals': <built-in function locals>
'dir': <built-in function dir>
'ImportWarning': <class 'ImportWarning'>
'NotImplementedError': <class 'NotImplementedError'>
'__debug__': True
'UnicodeWarning': <class 'UnicodeWarning'>
'RuntimeWarning': <class 'RuntimeWarning'>
'int': <class 'int'>
'KeyboardInterrupt': <class 'KeyboardInterrupt'>
'KeyError': <class 'KeyError'>
'ZeroDivisionError': <class 'ZeroDivisionError'>
'LookupError': <class 'LookupError'>
'min': <built-in function min>
'FutureWarning': <class 'FutureWarning'>
'format': <built-in function format>
'ord': <built-in function ord>
'super': <class 'super'>
'issubclass': <built-in function issubclass>
'ConnectionResetError': <class 'ConnectionResetError'>
'__package__': ''
'SystemExit': <class 'SystemExit'>
'GeneratorExit': <class 'GeneratorExit'>
'UserWarning': <class 'UserWarning'>
'__spec__': ModuleSpec(name='builtins'
loader=<class '_frozen_importlib.BuiltinImporter'>)
'RuntimeError': <class 'RuntimeError'>
'IsADirectoryError': <class 'IsADirectoryError'>
'Exception': <class 'Exception'>
'license': Type license() to see the full license text
'BufferError': <class 'BufferError'>
'UnicodeDecodeError': <class 'UnicodeDecodeError'>
'BrokenPipeError': <class 'BrokenPipeError'>
'ResourceWarning': <class 'ResourceWarning'>
'type': <class 'type'>
'BaseException': <class 'BaseException'>
'PermissionError': <class 'PermissionError'>
'MemoryError': <class 'MemoryError'>
'ArithmeticError': <class 'ArithmeticError'>
'help': Type help() for interactive help
or help(object) for help about object.
'ChildProcessError': <class 'ChildProcessError'>
'__doc__': "Built-in functions
exceptions
and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices."
'WindowsError': <class 'OSError'>
'__name__': 'builtins'
'globals': <built-in function globals>}

python builtin列表的更多相关文章

  1. Python Built-in Function 学习笔记

    Python Built-in Function 学习笔记 1. 匿名函数 1.1 什么是匿名函数 python允许使用lambda来创建一个匿名函数,匿名是因为他不需要以标准的方式来声明,比如def ...

  2. Python list列表的排序

    当我们从数据库中获取一写数据后,一般对于列表的排序是经常会遇到的问题,今天总结一下python对于列表list排序的常用方法: 第一种:内建函数sort() 这个应该是我们使用最多的也是最简单的排序函 ...

  3. python中列表和元组以及字符串的操作

    python中列表是非常好用的.不过有一些使用小细节还需要注意一下. tag[32:-4] 从index为32到tag的倒数第4个字符. 如果索引为32的值在倒数第4个字符的右边,那么将输出为空.只要 ...

  4. python基础——列表生成式

    python基础——列表生成式 列表生成式即List Comprehensions,是Python内置的非常简单却强大的可以用来创建list的生成式. 举个例子,要生成list [1, 2, 3, 4 ...

  5. Python的列表排序

    Python的列表排序 本文为转载,源地址为:http://blog.csdn.net/horin153/article/details/7076321 在 Python 中, 当需要对一个 list ...

  6. python中列表 元组 字典 集合的区别

    列表 元组 字典 集合的区别是python面试中最常见的一个问题.这个问题虽然很基础,但确实能反映出面试者的基础水平. (1)列表 什么是列表呢?我觉得列表就是我们日常生活中经常见到的清单.比如,统计 ...

  7. python对列表的联想

    python的列表与字典,已经接触无数次了.但是很多用法都记不住,个人觉得归根原因都是只是学了知识点而少用,也少思考.在此试图用宫殿记忆法对它们的用法做个简单的梳理. 首先,说说列表的删除,删除有三种 ...

  8. Python统计列表中的重复项出现的次数的方法

    本文实例展示了Python统计列表中的重复项出现的次数的方法,是一个很实用的功能,适合Python初学者学习借鉴.具体方法如下:对一个列表,比如[1,2,2,2,2,3,3,3,4,4,4,4],现在 ...

  9. python之列表(list)的使用方法介绍

    python之列表(list)介绍 在python的使用过程中,我们经常会用到列表,然而经常会遇到疑惑,下面我将详细介绍下列表使用方法. 一.列表 列表经常用到的功能使增.删.改和查功能. 1. 增 ...

随机推荐

  1. Confluence-6.10.0+Jira-7.13+Crowd-3.2.1最全破解文档,附下载包

    =========================================2019.4.19更改================================================ ...

  2. Hadoop之HDFS的Shell操作

    1.基本语法 bin/hadoop fs 具体命令 或者 bin/hdfs dfs 具体命令 dfs 是 fs 的实现类. 2.命令大全 [hadoop@hadoop102 hadoop-]$ bin ...

  3. 使用Python创建一个简易的Web Server

    Python 2.x中自带了SimpleHTTPServer模块,到Python3.x中,该模块被合并到了http.server模块中.使用该模块,可以快速创建一个简易的Web服务器. 我们在C:\U ...

  4. java异常处理try catch finally

    1       异常 1.1      异常处理的作用 在编程时,如果出现文件打开失败,读写文件就会异常退出.如果出现内存溢出错误,程序也会异常退出.如果不能对这些异常进行处理.程序则无法正常运行.所 ...

  5. bean 装配

    1.装配方式 (1)在xml进行显式装配 (2)在java中进行显式装配 (3)隐式的bean发现机制和自动装配 2.装配方式(3)实现 (1)创建bean /** * @component告诉spr ...

  6. Disable access to Windows Update

    Disable access to Windows Update If this policy setting is enabled, all Windows Update features are ...

  7. Hadoop OutputCommitter

    1. OutputCommitters MapReduce使用一个提交协议来确保作业(job)和任务(task)都完全成功或失败.这个通过 OutputCommiter来实现. 新版本 MapRedu ...

  8. Python生产者producer和consumer消费者案例写法,含有多线程,包含队列queue、JoinableQueue队列的用法

    import timeimport random import queuefrom multiprocessing import Process,Queue 案例一:def consumer(q,na ...

  9. XV Open Cup named after E.V. Pankratiev. GP of Central Europe (AMPPZ-2014)--J.Cave

    给你一棵树,现在有m个专家,每个专家计划从$a_i$走到$b_i$, 经过的距离不超过$d_i$,现在让你找一个点,使得所有专家的路途都能经过这个点 令$S_i$表示满足第i个专家的所有点,先检查1可 ...

  10. Apache 如何设置默认首页文档?

    在你安装后的Apache目录下,有一个conf目录,在这个目录里,有一个"httpd.conf"文件.我们要做的,就是修改这个文件. 在这个文件里,凡是以"#" ...