import gzip
def un_gz(file_name):
#获取文件名,去掉后缀名
f_name=filename.replace(".gz","")
#开始解压
g_file=gzip.GzipFile(file_name)
#读取解压后的文件,并写入去掉后缀名的同名文件
open(f_name,"wb+").write(g_file.read())
g_file.close()
un_gz('D:\D盘\Desktop\cvyuan-0.1.tar.gz')#绝对路劲
git config --global user.email "moudexiao@gamil.com"
git config --global user.name "moudexiao"
git config http.sslVertify false
echo "# duoyuantongji" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/moudexiao/duoyuantongji.git
git push -u origin main
git remote add origin https://github.com/moudexiao/duoyuantongji.git
git branch -M main
git push -u origin main
Example Package
This is a simple example package. You can use Github-flavored Markdown to write your content.
Release files for duoyuantongji 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| duoyuantongji-1.0.0.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| duoyuantongji-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / duoyuantongji-1.0.0.tar.gz
| Download URL | duoyuantongji-1.0.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bc23f37b290fb0019452e4b8941d1f2f4a0fee3ad4d0a29775e34d4a72fb1fb
|
|
BLAKE2b-256 checksum How to use checksums |
407b3c10db9a63a5ffc58cb7d1fb6b8d7f66f4a84fa89866de4d21e59ed9118e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / duoyuantongji-1.0.0-py3-none-any.whl
| Download URL | duoyuantongji-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
043520e67e616744dcd90de33ba8779d44278411faad64ad898731151eb5ea8e
|
|
BLAKE2b-256 checksum How to use checksums |
6035de92d334e1b599d6594d88448a9e0a4c85cc7736673973c5b0c995cb8efd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|