On 12/13/2012 06:45 PM, Steven D'Aprano wrote:
What am I doing wrong?


By the way, I didn't include command line parameters as part of the function definition, so you might want to add them to insure it acts like a generic alias.

Also, (alternately), you could define a generic python shell script/import with the duty of checking for a compatible python version; and if the wrong one is executing -- it could then import the shell command execution function, and *fork* the correct version of python on the script; then it could exit.

... or whatever.... ;)


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to