osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem


On Jan 14, 2016 10:58 PM, "Shivam Gupta" <mailtoshivamgupta at gmail.com>
wrote:
>
> Hello,
>
> I am using python 3.5.1 on my windows 8.1. The problem is that whenever i
> save any file any after that when i run it the screen just close
> immediately after i double click on python file.
>
> Thank you.

Hi there,

Try opening the file in Python IDLE, and run it there.
Or, open a command line in the directory that contains your file, and type
python filename.py
At least, this way, the cmd doesn't close by itself.

Cheers,
Andrew