On 3/26/2012 1:21 PM, Glenn Linderman wrote: > Hmm. And here's something else that might be missing: integration of > the launcher with .py files that are actually ZIP archives... where > does it find the #! line? (probably it can't, currently -- I couldn't > figure out how to make it do it). Is it possible to add a #! line at > the beginning of a ZIP archive for the launcher to use, and still have > Python recognize the result as a ZIP archive? I know self-extracting > archives put an executable program in front of a ZIP file, and the > result is still recognized by most ZIP archivers, but I tried just > putting a #! line followed by a ZIP archive, and Python gave me > SyntaxError: unknown decode error. OK, my first try there, I forgot the stupid Windows /b switch on copy, so apparently the ZIP archive got mangled. When I use ropy /b to join #!/usr/bin/python3.2 and a zip file, it now works. Sorry for the noise. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120326/f1dbb2fd/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4