Re: "Python launcher" required to run *.py scripts on Windows?

2017-06-27 Thread eryk sun
On Tue, Jun 27, 2017 at 5:41 AM, Ben S. via Python-list
 wrote:
>
> When I always call Python script from CommandPrompt like
>
> D:\tools\Python\python.exe mypythonscript.py
>
> then this Launcher should not be necessary.

The launcher implements shebang support for directly running Python
scripts in multiple versions and virtual environments, including
virtual commands (defined in py.ini) to support other implementations
such as PyPy. It can also be used to administer multiple CPython
installations from the command line.

If you don't need it, don't install it. You can install it later if
you change your mind.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: "Python launcher" required to run *.py scripts on Windows?

2017-06-27 Thread Andre Müller
Double Post:
https://python-forum.io/Thread-Python-launcher-required-to-run-py-scripts-on-Windows

Pleas don't do this. It's not a nice behavior.

Thanks.

Andre
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: "Python launcher" required to run *.py scripts on Windows?

2017-06-27 Thread Ned Batchelder
On Tuesday, June 27, 2017 at 1:41:22 AM UTC-4, Ben S. wrote:
> As I observed v3.6.1 installs (on Windows 7) in addition to the core python 
> engine a second program "Python Launcher".
> 
> As far as I read this component seems to be not necessary since it only aims 
> to facilitate the handling with *.py scripts on Windows.
> 
> When I always call Python script from CommandPrompt like
> 
> D:\tools\Python\python.exe mypythonscript.py
> 
> then this Launcher should not be necessary.
> 
> Am I right?
> 
> Since I prefer to have as less prgrams installed as possible I consider to 
> uninstall the Python Launcher.
> 
> Is this possible without causing trouble to Python executions?

Micro-managing installations like this seems like a bad idea.  If Python
installed it, and you are not running out of disk space, then leave it
alone.

Perhaps Python will be fine if you remove the launcher, but it's
a bad habit to pursue: other software will be harder to untangle, and
when problems occur, others will be unable to help because you will now
have a completely unique and unsupported configuration.

Is there some problem you are trying to solve by removing the launcher?

--Ned.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: "Python launcher" required to run *.py scripts on Windows?

2017-06-27 Thread Terry Reedy

On 6/27/2017 1:41 AM, Ben S. via Python-list wrote:

As I observed v3.6.1 installs (on Windows 7) in addition to the core python engine a 
second program "Python Launcher".

As far as I read this component seems to be not necessary since it only aims to 
facilitate the handling with *.py scripts on Windows.

When I always call Python script from CommandPrompt like

D:\tools\Python\python.exe mypythonscript.py

then this Launcher should not be necessary.

Am I right?


As long as you have only 1 version of python installed, then there is no 
ambiguity to 'python', and you do not really need it.  But it is nice to 
be able to type 'py' regardless of the current working directory.


If you have more than 1 python version installed, it is very handy.


Since I prefer to have as less prgrams installed as possible I consider to 
uninstall the Python Launcher.

Is this possible without causing trouble to Python executions?

Ben




--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list


"Python launcher" required to run *.py scripts on Windows?

2017-06-26 Thread Ben S. via Python-list
As I observed v3.6.1 installs (on Windows 7) in addition to the core python 
engine a second program "Python Launcher".

As far as I read this component seems to be not necessary since it only aims to 
facilitate the handling with *.py scripts on Windows.

When I always call Python script from CommandPrompt like

D:\tools\Python\python.exe mypythonscript.py

then this Launcher should not be necessary.

Am I right?

Since I prefer to have as less prgrams installed as possible I consider to 
uninstall the Python Launcher.

Is this possible without causing trouble to Python executions?

Ben
-- 
https://mail.python.org/mailman/listinfo/python-list