|
From: | Andreas Röhler |
Subject: | Re: Getting Python system paths for CEDET |
Date: | Sat, 13 Oct 2012 17:13:40 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120825 Thunderbird/15.0 |
Am 13.10.2012 14:26, schrieb David Engster:
Andreas Schwab writes:David Engster <address@hidden> writes:So here's my question: What is The Right Way to send and parse the command above?How about shell-command-to-string?That's what I thought, too. But people told me that it is better to go through the python-mode layer, so that its configuration settings can be reused (the Python version to use, for example). -David
(getenv "PYTHONPATH") should be all you need here. However, it might not be of that great use for the Emacs side. When possible, let Python itself act. HTH, Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |