Python Forum
Console crash after boot. - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Console crash after boot. (/thread-9420.html)



Console crash after boot. - friendlymegalomaniac - Apr-07-2018

I am currently using python 3.6.5 with notepad++ for a text editor. I have tryed to create several programs but whenever the console boots it crashes. Even with a simple hello world, it always crashes. Any help?
Note: the Hello World program I have authored is like so:
print('Hello World')
any help would be appriciated. Many thanks.


RE: Console crash after boot. - wavic - Apr-07-2018

Open the cmd and run the script from there.

python script.py

If you run the script by double-clicking on it the console opens, the script is executed and the console closes. It happens too fast.