Creating Python "executables" on Windows?
etoffi at softhome.net
etoffi at softhome.net
Wed Aug 9 05:51:12 EDT 2000
Once upon a 08 Aug 2000 22:18:21 +0200
Hrvoje Niksic <hniksic at iskon.hr> wrote:
> Alan Gauld <alan.gauld at gssec.bt.co.uk> writes:
>
> > > I have one problem, though: on Unix systems, it's very easy to
> > > create a script that you can run as an executable by placing
> > > "#!/usr/bin/python" (or the /usr/bin/env variant). I wonder how
> > > to do the same on Windows?
> >
Windows uses extensions to run files.
*Ding* Lightbulb!
[snip]
>
> This is a problem: the thing is, I am trying to write a small,
> Unix-style program that processes its command-line arguments. Reading
> data with raw_input() would render it pretty much unusable.
Since you like unix, try bash from cygwin. That'll prob work.
>
> I guess I'll have to go with the wrapper; thanks for your help.
--
etoffi
More information about the Python-list
mailing list