Re: [Python-ideas] "import me" to display some summary of the current python installation

2017-04-11 Thread Steven D'Aprano
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

Re: [Python-ideas] "import me" to display some summary of the current python installation

2017-04-11 Thread Steven D'Aprano
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

Re: [Python-ideas] "import me" to display some summary of the current python installation

2017-04-11 Thread Kamal Mustafa
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 >>

Re: [Python-ideas] "import me" to display some summary of the current python installation

2017-04-11 Thread Ryan Gonzalez
...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

Re: [Python-ideas] "import me" to display some summary of the current python installation

2017-04-11 Thread Wes Turner
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

[Python-ideas] "import me" to display some summary of the current python installation

2017-04-11 Thread Kamal Mustafa
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