资源简介
打包好的python3.5.5,里面包含idle编译器,Python.exe
代码片段和文件信息
# Copyright 2007 Google Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.
“““Abstract base Classes (ABCs) according to PEP 3119.“““
from _weakrefset import WeakSet
def abstractmethod(funcobj):
“““A decorator indicating abstract methods.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract methods are overridden.
The abstract methods can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C(metaclass=ABCmeta):
@abstractmethod
def my_abstract_method(self ...):
...
“““
funcobj.__isabstractmethod__ = True
return funcobj
class abstractclassmethod(classmethod):
“““
A decorator indicating abstract classmethods.
Similar to abstractmethod.
Usage:
class C(metaclass=ABCmeta):
@abstractclassmethod
def my_abstract_classmethod(cls ...):
...
‘abstractclassmethod‘ is deprecated. Use ‘classmethod‘ with
‘abstractmethod‘ instead.
“““
__isabstractmethod__ = True
def __init__(self callable):
callable.__isabstractmethod__ = True
super().__init__(callable)
class abstractstaticmethod(staticmethod):
“““
A decorator indicating abstract staticmethods.
Similar to abstractmethod.
Usage:
class C(metaclass=ABCmeta):
@abstractstaticmethod
def my_abstract_staticmethod(...):
...
‘abstractstaticmethod‘ is deprecated. Use ‘staticmethod‘ with
‘abstractmethod‘ instead.
“““
__isabstractmethod__ = True
def __init__(self callable):
callable.__isabstractmethod__ = True
super().__init__(callable)
class abstractproperty(property):
“““
A decorator indicating abstract properties.
Requires that the metaclass is ABCmeta or derived from it. A
class that has a metaclass derived from ABCmeta cannot be
instantiated unless all of its abstract properties are overridden.
The abstract properties can be called using any of the normal
‘super‘ call mechanisms.
Usage:
class C(metaclass=ABCmeta):
@abstractproperty
def my_abstract_property(self):
...
This defines a read-only property; you can also define a read-write
abstract property using the ‘long‘ form of property declaration:
class C(metaclass=ABCmeta):
def getx(self): ...
def setx(self value): ...
x = abstractproperty(getx setx)
‘abstractproperty‘ is deprecated. Use ‘property‘ with ‘abstractmethod‘
instead.
“““
__isabstractmethod__ = True
class ABCmeta(type):
“““metaclass for defining Abstract base Classes (ABCs).
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 19790 2017-02-13 22:42 python\DLLs\py.ico
文件 19790 2017-02-13 22:42 python\DLLs\pyc.ico
文件 162968 2017-08-08 02:08 python\DLLs\pyexpat.pyd
文件 23192 2017-08-08 02:08 python\DLLs\select.pyd
文件 605336 2017-08-08 02:08 python\DLLs\sqlite3.dll
文件 1295872 2017-02-13 23:43 python\DLLs\tcl86t.dll
文件 1540608 2017-02-13 23:44 python\DLLs\tk86t.dll
文件 865432 2017-08-08 02:08 python\DLLs\unicodedata.pyd
文件 23704 2017-08-08 02:08 python\DLLs\winsound.pyd
文件 77976 2017-08-08 02:08 python\DLLs\_bz2.pyd
文件 101528 2017-08-08 02:07 python\DLLs\_ctypes.pyd
文件 29848 2017-08-08 02:07 python\DLLs\_ctypes_test.pyd
文件 214168 2017-08-08 02:08 python\DLLs\_decimal.pyd
文件 161944 2017-08-08 02:08 python\DLLs\_elementtree.pyd
文件 1042584 2017-08-08 02:10 python\DLLs\_hashlib.pyd
文件 152728 2017-08-08 02:08 python\DLLs\_lzma.pyd
文件 32408 2017-08-08 02:08 python\DLLs\_msi.pyd
文件 25240 2017-08-08 02:08 python\DLLs\_multiprocessing.pyd
文件 33944 2017-08-08 02:08 python\DLLs\_overlapped.pyd
文件 61592 2017-08-08 02:08 python\DLLs\_socket.pyd
文件 64152 2017-08-08 02:08 python\DLLs\_sqlite3.pyd
文件 1454744 2017-08-08 02:10 python\DLLs\_ssl.pyd
文件 41112 2017-08-08 02:07 python\DLLs\_testbuffer.pyd
文件 71320 2017-08-08 02:07 python\DLLs\_testcapi.pyd
文件 19096 2017-08-08 02:07 python\DLLs\_testimportmultiple.pyd
文件 25752 2017-08-08 02:07 python\DLLs\_testmultiphase.pyd
文件 53400 2017-08-08 02:08 python\DLLs\_tkinter.pyd
文件 7532322 2017-08-08 02:06 python\Doc\python354.chm
文件 45107 2017-02-13 22:42 python\include\abstract.h
文件 1053 2017-02-13 22:42 python\include\accu.h
............此处省略3718个文件信息
相关资源
- python写的tcp局域网聊天程序源码+exe
- opencv3机器视觉python语言实现.zip
- Python金融大数据分析.zip
- Python数据挖掘入门与实践(高清PDF+随
- Python-CCKS2017中文电子病例命名实体识
- python2.7一键安装附环境搭建方法说明
- 《Python语言在Abaqus中的应用》 曹金凤
- 《Python编程实践》PDF及代码.part1
- 《Python编程实践》PDF及代码.part2.rar
- Python核心编程第3版带目录高清中文版
- Python 3.9.1 64位安装包.zip
- Deep Learning for Computer Vision with Python
- Python-3.6.6.tar.gz
- Python编程:从入门到实践 2018高清 中
- python-3.8.0.exe
- Python计算机视觉编程完整版PDF
- python3.7 官方中文手册文档全套
- scrapy专利爬虫
- GOC京东物流车辆调度A榜赛题Python实现
- [全套55讲]鱼C论坛小甲鱼Python课后题
- 《Python数据挖掘入门与实践 》 作者:
- Python-3.8.1.tgz
- 基于python编写的串口调试助手,内含
- 物体检测识别python源代码
- python_x64_v3.8.5.zip
- python-3.5.2-amd64.exe
- Python学习手册(第5版)英文版
- Python编程:从入门到实践原版高清P
- pywin32-221.win-py3.7 for x86 and x64
- python课件
评论
共有 条评论