ce wrote: > On Mar 15, 10:23 am, alf <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I have a small app which consist of a few .py files. Is there any way to >> distribute it in jar like fashion as a single file I can just run python >> on. I obviously look for platform independent solution. >> >> Thx in advance, A. > > You can import from zip achieves as PEP 273, but to execute in the > same mechanism as the jar files, recently there is no way afaik. You could treat the collection of files as a Python package. You would then add an __init__.py file to your collection and, in that __init__.py arrange to initiate main.py (or whatever you call your initiator program).
Colin W. > > ce (pain n d'ass) > -- http://mail.python.org/mailman/listinfo/python-list