Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python GUI creation

I have gone through a few tutorials regarding console Python applications. I am using vim and using the Windows command prompt to run my same applications. I am moving towards GUI creation in wxPython. I am essentially trying to recreate the google finance chart, but with data from some temperature sensors.

However, whenever I run the program from the command line, the window of my sample app flashes and goes away immediately. When I ran it through IDLE, I saw that there was an error in my code. Is there a way to see errors when I run it from the command line, because I am much more comfortable with vim?

Thanks in advance!

like image 392
Joshua Avatar asked Mar 06 '26 02:03

Joshua


1 Answers

You can run the code, using commands in cmd prompt "Python.exe filename.py", as it shouldn't exit the cmd prompt upon the execution of the code.

Or you can write the program in vim and run it through IDLE.

like image 170
Mahmoud Aladdin Avatar answered Mar 07 '26 16:03

Mahmoud Aladdin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!