资源简介
用原版python3.6.8_x86安装后精简而成。并添加了绿色补丁。可正常使用pip工具。
使用时解压到任意非中文目录,运行python_cmd.bat即可,无需设置环境变量。
代码片段和文件信息
# 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).
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-06-06 11:12 DLLs\
文件 75809 2018-12-23 23:27 DLLs\py.ico
文件 78396 2018-12-23 23:27 DLLs\pyc.ico
文件 83351 2018-12-23 23:27 DLLs\pyd.ico
文件 166416 2018-12-23 23:32 DLLs\pyexpat.pyd
文件 153939 2018-12-23 23:37 DLLs\python_lib.cat
文件 25456 2018-12-23 23:38 DLLs\python_tools.cat
文件 23056 2018-12-23 23:31 DLLs\select.pyd
文件 924176 2018-12-23 23:32 DLLs\sqlite3.dll
文件 897552 2018-12-23 23:32 DLLs\unicodedata.pyd
文件 24080 2018-12-23 23:31 DLLs\winsound.pyd
文件 46096 2018-12-23 23:31 DLLs\_asyncio.pyd
文件 72720 2018-12-23 23:32 DLLs\_bz2.pyd
文件 107024 2018-12-23 23:31 DLLs\_ctypes.pyd
文件 225296 2018-12-23 23:31 DLLs\_decimal.pyd
文件 21520 2018-12-23 23:32 DLLs\_distutils_findvs.pyd
文件 169488 2018-12-23 23:32 DLLs\_elementtree.pyd
文件 1181200 2018-12-23 23:33 DLLs\_hashlib.pyd
文件 184848 2018-12-23 23:32 DLLs\_lzma.pyd
文件 32784 2018-12-23 23:32 DLLs\_msi.pyd
文件 25104 2018-12-23 23:31 DLLs\_multiprocessing.pyd
文件 34320 2018-12-23 23:31 DLLs\_overlapped.pyd
文件 62992 2018-12-23 23:32 DLLs\_socket.pyd
文件 65552 2018-12-23 23:32 DLLs\_sqlite3.pyd
文件 1548304 2018-12-23 23:33 DLLs\_ssl.pyd
目录 0 2019-06-06 11:12 include\
文件 48828 2018-12-23 23:27 include\abstract.h
文件 1053 2018-12-23 23:27 include\accu.h
文件 1259 2018-12-23 23:27 include\asdl.h
文件 499 2018-12-23 23:27 include\ast.h
文件 824 2018-12-23 23:27 include\bitset.h
............此处省略1987个文件信息
相关资源
- python实现SGBM图像匹配算法
- python实现灰度直方图均衡化
- scrapy_qunar_one
- Python学习全系列教程永久可用
- python简明教程.chm
- 抽奖大转盘python的图形化界面
- 双边滤波器实验报告及代码python
- python +MYSQL+HTML实现21蛋糕网上商城
- Python-直播答题助手自动检测出题搜索
- OpenCV入门教程+OpenCV官方教程中文版
- Python 串口工具源码+.exe文件
- Python开发的全栈股票系统.zip
- Python操作Excel表格并将其中部分数据写
- python书籍 PDF
- 利用python绘制散点图
- python+labview+No1.vi
- 老男孩python项目实战
- python源码制作whl文件.rar
- python3.5可用的scipy
- PYTHON3 经典50案例.pptx
- 计算机科学导论-python.pdf
- python模拟鼠标点击屏幕
- windows鼠标自动点击py脚本
- 鱼c小甲鱼零基础学python全套课后题和
- Python 练习题100道
- Practical Programming 2nd Edition
- wxPython Application Development Cookbook
- python 3.6
- Python 3.5.2 中文文档 互联网唯一CHM版本
- python3.5.2.chm官方文档
评论
共有 条评论