thisismedium / virtualenv-commands

Additional commands to augment the python virtualenv package.
http://thisismedium.com/labs/virtualenv-commands/
BSD 2-Clause "Simplified" License
37 stars 7 forks source link

Solution for current_python_interpreter() kludge #4

Closed legastero closed 14 years ago

legastero commented 14 years ago

The variable sys.executable returns the name of the current interpreter.

http://docs.python.org/library/sys.html#sys.executable

weaver commented 14 years ago

Thanks for the suggestion, it works nicely.