Steven,
I had intended to answer the question. If I did not answer this question, I
must have misunderstood the question.
> Never mind. site._script() as pointed out by Wes Turner is what I need:
These commands could also be helpful for the inferred use case:
$(which pip) --version
On 12 April 2017 at 14:35, Kamal Mustafa wrote:
> Never mind. site._script() as pointed out by Wes Turner is what I need:-
>
> Python 3.4.2 (default, Oct 8 2014, 10:45:20)
> [GCC 4.9.1] on linux
> Type "help", "copyright", "credits" or "license" for more information.
Never mind. site._script() as pointed out by Wes Turner is what I need:-
Python 3.4.2 (default, Oct 8 2014, 10:45:20)
[GCC 4.9.1] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import site
>>> site._script()
sys.path = [
'',
'/usr/lib/python3.4',
On 12/04/2017 04:04, Steven D'Aprano wrote:
On Tue, Apr 11, 2017 at 09:28:22PM -0500, Wes Turner wrote:
python -m site
https://github.com/python/cpython/blob/master/Lib/site.py
- _script()
Wes, I have no idea what that code snippet is supposed to do, or even
whether it is supposed to be
Sorry. Ignore my last message. I thought this conversation was on the
IPython Dev list.
-- Carl Smith
carl.in...@gmail.com
On 12 April 2017 at 10:31, Carl Smith wrote:
> I actually did have `me` defined, but changed it to `my` recently. I use
> it in my shell to store my
I actually did have `me` defined, but changed it to `my` recently. I use it
in my shell to store my personal details, like my mobile number, API keys
etc. It's handy being able to do `my.mobile` when I need that info quickly.
Either way, the default banner should, and generally does, point new