Windows Dev question...

Does anyone know the best way to run python files in windows? When I make a python file, I can double click on it, and it runs. But, if there are errors, the little dos window doesn’t stay up long enough for me to see it! I’d like to see the errors so I can troubleshoot.

I’m used to developing on Linux, so execution is a bit different.

Any ideas?

Thanks,
Matt

Matt Graham wrote:

Someone already mentioned getting a command prompt. Another approach that I've used is to edit the folder options so that I have an option for inspect as well run. This is just like the normal run command except that it uses python -i, which leaves the DOS box up and lets you poke around in it. The I just right-click on the icon and select inspect.

-tim

···

Does anyone know the best way to run python files in windows? When I make a python file, I can double click on it, and it runs. But, if there are errors, the little dos window doesn't stay up long enough for me to see it! I'd like to see the errors so I can troubleshoot.
I'm used to developing on Linux, so execution is a bit different.
Any ideas?
Thanks,
Matt

Awesome. Both suggestions are working perfectly.

Thanks,
Mat

···

----- Original Message -----
From: "Tim Hochberg" <tim.hochberg@ieee.org>
To: <wxPython-users@lists.wxwindows.org>
Sent: Friday, February 14, 2003 11:46 AM
Subject: Re: [wxPython-users] Windows Dev question...

Matt Graham wrote:

Someone already mentioned getting a command prompt. Another approach
that I've used is to edit the folder options so that I have an option
for inspect as well run. This is just like the normal run command except
that it uses python -i, which leaves the DOS box up and lets you poke
around in it. The I just right-click on the icon and select inspect.

-tim

> Does anyone know the best way to run python files in windows? When I
> make a python file, I can double click on it, and it runs. But, if
> there are errors, the little dos window doesn't stay up long enough
> for me to see it! I'd like to see the errors so I can troubleshoot.
>
> I'm used to developing on Linux, so execution is a bit different.
>
> Any ideas?
>
> Thanks,
> Matt
>

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

Another suggestion:

Scite (a text editor from scintilla) has a python output window, as well as being a very useful editor. So you can run your programs from in the editor, and see the output.

Chris.

···

----- Original Message -----
From: Matt Graham

To: wxPython-users

Sent: Saturday, February 15, 2003 5:03 AM

Subject: [wxPython-users] Windows Dev question…

Does anyone know the best way to run python files in windows? When I make a python file, I can double click on it, and it runs. But, if there are errors, the little dos window doesn’t stay up long enough for me to see it! I’d like to see the errors so I can troubleshoot.

I’m used to developing on Linux, so execution is a bit different.

Any ideas?

Thanks,
Matt