9 lines
294 B
Python
9 lines
294 B
Python
|
|
#!/usr/bin/env python3
|
||
|
|
import tarfile
|
||
|
|
import os
|
||
|
|
|
||
|
|
os.chdir(r'D:\资料\03-项目开发\wecom_it_smart_desk')
|
||
|
|
with tarfile.open('neo4j-fix-v2.tar.gz', 'w:gz') as tar:
|
||
|
|
tar.add('backend/app/services/neo4j_client.py', arcname='app/services/neo4j_client.py')
|
||
|
|
print('Created neo4j-fix-v2.tar.gz')
|