473,320 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Interpreter window

I have created a Python application in Windows XP which uses
WxWidgets. When I start the application from the Python interpreter I
get one empty interpreter window in addition to the application
window. Is there a way to close the interpreter window without closing
the application? Or, can I start the interpreter and the application
script without starting the interpreter window?

Feb 2 '07 #1
3 1427

"Nils Overas Bergen" <ni********@yahoo.no>
11**********************@k78g2000cwa.googlegroups. com...
>I have created a Python application in Windows XP which uses
WxWidgets. When I start the application from the Python interpreter I
get one empty interpreter window in addition to the application
window. Is there a way to close the interpreter window without closing
the application? Or, can I start the interpreter and the application
script without starting the interpreter window?
do you mean console window?
you can try pythonw.exe instead of python.exe

-sods
Feb 2 '07 #2
On 2 Feb, 13:07, "skyofdreams" <skyofdre...@gmail.comwrote:
"Nils Overas Bergen" <nilsove...@yahoo.no>
1170417263.849798.151...@k78g2000cwa.googlegroups. com...
I have created a Python application in Windows XP which uses
WxWidgets. When I start the application from the Python interpreter I
get one empty interpreter window in addition to the application
window. Is there a way to close the interpreter window without closing
the application? Or, can I start the interpreter and the application
script without starting the interpreter window?

do you mean console window?
you can try pythonw.exe instead of python.exe

-sods
Thanks! Now my application starts without the console window.

Nils

Feb 2 '07 #3
"Nils Overas Bergen" <ni********@yahoo.noescribió en el mensaje
news:11*********************@q2g2000cwa.googlegrou ps.com...
On 2 Feb, 13:07, "skyofdreams" <skyofdre...@gmail.comwrote:
>"Nils Overas Bergen" <nilsove...@yahoo.no>
1170417263.849798.151...@k78g2000cwa.googlegroups .com...
>I have created a Python application in Windows XP which uses
WxWidgets. When I start the application from the Python interpreter I
get one empty interpreter window in addition to the application
window. Is there a way to close the interpreter window without closing
the application? Or, can I start the interpreter and the application
script without starting the interpreter window?

do you mean console window?
you can try pythonw.exe instead of python.exe

Thanks! Now my application starts without the console window.
And, if you rename the .py to .pyw, it will open with pythonw.exe by
default.

--
Gabriel Genellina
Feb 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: lawrence | last post by:
I notice that when my weblog software tries to contact www.weblogs.com, to use the update service, my whole site (all PHP) slows down. Contacting www.weblogs.com can take a long time. I can't...
2
by: Tim | last post by:
Maybe I've been working too long, but has anyon had their python interpreter stop taking commands. The IDLE version works fine, but under Windoze: 1) execute "python" in teh command shell 2)...
5
by: Rafal Kleger-Rudomin | last post by:
Hello, I'm looking for a command to reset interpreter's environment i.e. unload all modules, delete variables etc. Regards, Rafal
1
by: Leeuw van der, Tim | last post by:
Hi, I'm using the following combination of software: - Pydev Eclipse plugin (pydev 0.8.5) - eclipse 3.0.1 - windows XP SP1 - pygtk 2.4.1 - GTK 2.6.1 (for windows32 native) When trying to...
0
by: nadeemabdulhamid | last post by:
Hello, I'm trying to write some Java code that will launch a python interpreter shell and pipe input/output back and forth from the interpreter's i/o streams and the Java program. The code posted...
2
by: chewie54 | last post by:
Hi all, Does anyone know of an example of wxPython source code that shows how to put a python shell (interpreter) in a bottom window with a graphical application in the top window? Thanks,
2
by: beginner | last post by:
Hi everyone, I have a question about Tkinter programs. What I want is a GUI window along with an interpreter window, so that I can do things by clicking on the GUI or typing commands in the...
16
by: lawrence k | last post by:
I've never before written a PHP script to run on my home Ubuntu machine (though I've written dozens of PHP cron jobs for my web server), so I thought I'd start off with a very simple test: ...
0
by: Terry Reedy | last post by:
Tim Golden wrote: I have to right-click on the title bar (or left-click on the icon on the title bar), select edit and then select paste -- but it does work. I just found the QuickEdit option....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.