阅读背景:

Python tarfile没有创建有效的.tar。gz文件

来源:互联网 

I have a Django app that creates a .tar.gz file for download. Locally, I run on my dev machine Python 2.7, and on my remote dev server, Python 2.6.6. When I download the files, I can open both via Mac Finder / command line and view the contents. However, Python 2.7 does not like the .tar.gz file created on my remote dev server...and I need to upload these files to a site that uses Python to unpack / parse the archives. How can I debug what is wrong? In a Python shell:I have a Django app that creates a .tar.gz file




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: