Re: Two Questions about Python on Windows

2014-04-05 Thread Tim Roberts
maxerick...@gmail.com wrote: > >You can also edit the PATHEXT environment variable to include .py/.pyw, >making the python source files executable (as long as the types are >properly registered with Windows; if double clicking runs them they >should be properly registered). Let me clarify that ju

Re: Two Questions about Python on Windows

2014-04-03 Thread Mark Lawrence
On 03/04/2014 23:41, Ian Kelly wrote: On Thu, Apr 3, 2014 at 2:15 PM, Mark Lawrence wrote: On 03/04/2014 18:54, Ian Kelly wrote: On Apr 3, 2014 11:12 AM, "Walter Hurry" mailto:walterhu...@gmail.com>> wrote: > > Normally my Python development is done on FreeBSD and Linux. I know that on *

Re: Two Questions about Python on Windows

2014-04-03 Thread Ian Kelly
On Thu, Apr 3, 2014 at 2:15 PM, Mark Lawrence wrote: > On 03/04/2014 18:54, Ian Kelly wrote: >> >> >> On Apr 3, 2014 11:12 AM, "Walter Hurry" > > wrote: >> > >> > Normally my Python development is done on FreeBSD and Linux. I know >> that on *ix I simply have to mak

Re: Two Questions about Python on Windows

2014-04-03 Thread Mark Lawrence
On 03/04/2014 18:54, Ian Kelly wrote: On Apr 3, 2014 11:12 AM, "Walter Hurry" mailto:walterhu...@gmail.com>> wrote: > > Normally my Python development is done on FreeBSD and Linux. I know that on *ix I simply have to make foo.py executable (the shebang line is present, of course) to make it ru

Re: Two Questions about Python on Windows

2014-04-03 Thread Ethan Furman
On 04/03/2014 10:54 AM, Ian Kelly wrote: On Apr 3, 2014 11:12 AM, "Walter Hurry" wrote: Secondly, on *ix, if there's an up-to-date .pyc in the right place and I run foo.py, Python will automagically use foo.pyc. I don't believe this is exactly correct. Python will only use a .pyc automatica

Re: Two Questions about Python on Windows

2014-04-03 Thread Terry Reedy
On 4/3/2014 1:06 PM, Walter Hurry wrote: Normally my Python development is done on FreeBSD and Linux. I know that on *ix I simply have to make foo.py executable (the shebang line is present, of course) to make it runnable. For my son's school assignment, I have to help him with Python for Wind

Re: Two Questions about Python on Windows

2014-04-03 Thread Ian Kelly
On Apr 3, 2014 11:12 AM, "Walter Hurry" wrote: > > Normally my Python development is done on FreeBSD and Linux. I know that on *ix I simply have to make foo.py executable (the shebang line is present, of course) to make it runnable. > > For my son's school assignment, I have to help him with Pytho

Re: Two Questions about Python on Windows

2014-04-03 Thread maxerickson
On Thursday, April 3, 2014 1:06:29 PM UTC-4, Walter Hurry wrote: > Normally my Python development is done on FreeBSD and Linux. I know that on > *ix I simply have to make foo.py executable (the shebang line is present, of > course) to make it runnable. > > For my son's school assignment, I have

Two Questions about Python on Windows

2014-04-03 Thread Walter Hurry
Normally my Python development is done on FreeBSD and Linux. I know that on *ix I simply have to make foo.py executable (the shebang line is present, of course) to make it runnable. For my son's school assignment, I have to help him with Python for Windows. As I understand it, on Windows a .py