[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting Python system paths for CEDET
From: |
David Engster |
Subject: |
Re: Getting Python system paths for CEDET |
Date: |
Sat, 13 Oct 2012 22:32:36 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) |
Fabian Ezequiel Gallina writes:
> (python-shell-internal-send-string "import sys;print ('\x00'.join(sys.path))")
>
> That will work on python 2 and 3 and will take into account virtualenv
> settings the user may have set.
Thanks, that's exactly what I was looking for. I will change our setup
code to use that function (if available, otherwise the old code will
have to do).
-David
Re: Getting Python system paths for CEDET, Andreas Röhler, 2012/10/13