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
$(which
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.
import site
site._s
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 worki
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 personal details, like
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 use
On Wed, Apr 12, 2017 at 09:56:40AM +0800, Kamal Mustafa wrote:
> On the same theme with "import this" and "import antigravity", "import
> me" I think can be both some fun way to introduce Python and also
> offer a helpful functionality when troubleshooting python installation
> with someone new to
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 working code.
Remember that we can't read yo
Cool ! I don't know this.
On 12 April 2017 at 10:28, Wes Turner wrote:
> python -m site
> https://github.com/python/cpython/blob/master/Lib/site.py
> - _script()
>
>
> On Tuesday, April 11, 2017, Kamal Mustafa wrote:
>>
>> On the same theme with "import this" and "import antigravity", "import
>>
...except it would break everybody who has a module named `me` (which
admittedly isn't too common...).
Something like `import this.what` or something like that would be cool,
though.
--
Ryan (ライアン)
Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else
http://refi64.com
On Ap
python -m site
https://github.com/python/cpython/blob/master/Lib/site.py
- _script()
On Tuesday, April 11, 2017, Kamal Mustafa wrote:
> On the same theme with "import this" and "import antigravity", "import
> me" I think can be both some fun way to introduce Python and also
> offer a helpful fu
On the same theme with "import this" and "import antigravity", "import
me" I think can be both some fun way to introduce Python and also
offer a helpful functionality when troubleshooting python installation
with someone new to the language.
Currently, we have to use some myriad approach like "sho
12 matches
Mail list logo