We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
https://github.com/yyuu/pyenv
~/.pyenv/shims/
pyenv shell 3.5.1
.python-version
pyenv local 3.5.1
pyenv global 2.7.11
Sorry, something went wrong.
import zipfile import os home = os.environ['HOME'] apk_file = home + '/workspace/fengjr/android_pack/in-py.apk' z = zipfile.ZipFile(apk_file, 'a') meta_info_file = 'META-INF/in-py.txt' exists = False try: info = z.getinfo(meta_info_file) print(info) exists = True except KeyError: exists = False if exists: z.writestr(info, "From info") else: z.writestr(meta_info_file, "From Python script") z.close()
https://www.jianshu.com/p/857bf924cb65
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: