[Distutils] small improvement of the script functionality under
mal at egenix.com
Mon Apr 4 22:46:52 CEST 2005
[Lots of different techniques to trick Windows/DOS into starting
a Python script]
It is becoming rather obvious that the python -x trick is not
sufficient for Windows/DOS.
Wouldn't it be a lot cleaner if we invented a new command line
switch to provide whatever parsing technique is necessary in
order to provide a truely clean solution with everything in
one file ?
E.g. perhaps we need something like:
-X n : skip the first n lines in support of OS specific startup code
pathtopython -X 4 scriptfilenamehere %0 %1 ...
# Start of Python code
[program code goes here]
Professional Python Services directly from the Source (#1, Apr 04 2005)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the Distutils-SIG