1.检查
python setup.py check
2.打包
python setup.py sdist bdist_wheel || true
执行完上述命令的结果:
cd dist
安装 whl包 或 tar.gz包
pip install extension-0.07-py3-none-any.whl
1.检查
python setup.py check
2.打包
python setup.py sdist bdist_wheel || true
执行完上述命令的结果:
cd dist
安装 whl包 或 tar.gz包
pip install extension-0.07-py3-none-any.whl
1. 構造器 方法和變量 super、self、this 4. python代碼實例 class Test(): # 類屬性 country = '中國' province = '陝西省' c
os常用的爲: os.walk os.listdir os.path模塊 假如test文件夾下有a、b兩個文件夾和一個ex.txt文本文檔。a文件夾下有a.txt和b.txt兩個文本文檔。