maintain 2 versions of python on my computer

Aahz aahz at pythoncraft.com
Fri Jan 22 11:03:32 EST 2010


In article <Xns9D02B5E2CD9B1duncanbooth at 127.0.0.1>,
Duncan Booth  <duncan.booth at suttoncourtenay.org.uk> wrote:
>
>That seems overkill. This does pretty much the same thing:
>
>    	@(C:\Python26\Python -x %~f0 %* || pause) && goto:EOF
>    	import sys
>    	print sys.version
>    	# raise RuntimeError # uncomment to trigger the 'pause'

<blink>  What version of Windows is necessary to use this?  Anything with
cmd.exe?  (Sure doesn't look anything like DOS batch files...)
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

import antigravity



More information about the Python-list mailing list