maintain 2 versions of python on my computer

Gertjan Klein gklein at xs4all.nl
Mon Jan 18 11:52:36 CET 2010


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.



More information about the Python-list mailing list