Yesterday, I said:
On approximately 1/25/2010 9:27 PM, came the following characters
from the keyboard of David Lyon:
Firstly, it doesn't create create desktop shortcuts - sorry users
need those. Where do the programs go?
So let's say that the .zip file was dropped onto the Desktop or
start menu. It would have an icon, then.
But having a __main__.py file in a zip file is hardly a clear and
obvious way (to outside people) that it is a python application.
So let's further say that the .zip file was named .py, instead, but
> was a .zip internally.
That would seem to go a long ways toward making the facility user
> friendly, at least on Windows, which is where your complaint about
> icons was based, and the only change to Python would be to recognize
> that if a .py contains a .zip signature, then process it the same way
> as this mysterious, not mentioned in the What's New .zip execution
> facility.
Actually, this doesn't require any change to Python... some
experimentation this morning discovered that after you ZIP your
__main__.py script (and other stuff), you can rename it to foo.py and
say Python foo.py, and it will correctly execute from within the ZIP
file named "foo.py".
Why can't we just be like the rest of the universe and have one
icon type for packages and one icon type for applications.
Double click them and they get filed in the right place.
What platform files things in the right place when you double click
them?
This is still an open question.
--
Glenn -- http://nevcal.com/
===========================
A protocol is complete when there is nothing left to remove.
-- Stuart Cheshire, Apple Computer, regarding Zero Configuration Networking
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com