Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86024
| Date | 2015-02-21 12:05 +0100 |
|---|---|
| From | Gisle Vanem <gvanem@yahoo.no> |
| Subject | Re: Python path on windows |
| References | <f8c8a373-16e9-41c1-9e5b-37003f7a6c70@googlegroups.com> <54E74A09.1060906@davea.name> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.18954.1424516851.18130.python-list@python.org> (permalink) |
Dave Angel wrote: > Finally, when py.exe starts, it reads that first (shebang) line, and decides which python interpreter to actually use. py.exe? Do you mean python.exe? Is there a way to make python.exe ignore all Shebang lines in all scripts? I had many generated .py-files with: #!g:\ProgramFiler\Python27\python.EXE After transferring my Python tree to a new Win-8.1 PC, my Python tree was installed under "f:\ProgramFiler\" and my CD-ROM on "g:\" This caused those scripts to access my CD-ROM or pop-up a Win-GUI error dialogue if no CD-ROM was in the drive. Irritating. -- --gv
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python path on windows loial <jldunn2000@gmail.com> - 2015-02-20 06:43 -0800
Re: Python path on windows Dave Angel <davea@davea.name> - 2015-02-20 09:51 -0500
Re: Python path on windows Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-20 07:54 -0700
Re: Python path on windows loial <jldunn2000@gmail.com> - 2015-02-20 07:16 -0800
Re: Python path on windows Ian Kelly <ian.g.kelly@gmail.com> - 2015-02-20 11:25 -0700
Re: Python path on windows Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-20 18:31 +0000
Re: Python path on windows Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de> - 2015-02-20 21:32 +0100
Re: Python path on windows wxjmfauth@gmail.com - 2015-02-20 07:20 -0800
Re: Python path on windows Gisle Vanem <gvanem@yahoo.no> - 2015-02-21 12:05 +0100
Re: Python path on windows Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-21 12:36 +0000
Re: Python path on windows Dave Angel <davea@davea.name> - 2015-02-21 09:10 -0500
Re: Python path on windows Chris Angelico <rosuav@gmail.com> - 2015-02-22 01:40 +1100
csiph-web