Duncan Booth wrote: > @(C:\Python26\Python -x %~f0 %* || pause) && goto:EOF > import sys > print sys.version > # raise RuntimeError # uncomment to trigger the 'pause'
That is nice! This should probably be in the documentation, here: http://docs.python.org/using/cmdline.html#cmdoption-x ... instead of "This is intended for a DOS specific hack only.". Gertjan. -- http://mail.python.org/mailman/listinfo/python-list