Am 12.12.2012 21:06, schrieb Barry Warsaw:
> Or this one...

when creating a virtualenv, you usually know which interpreter you'll be using
for the new env, so why not use the interpreter to get the name of the dir?

python -S -c 'import sys, os.path; print [os.path.basename(d) for d in sys.path
if os.path.basename(d).startswith("plat-")][0]'


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to