Windows automatic rebooting due to faulty code

Chris Angelico rosuav at gmail.com
Fri May 23 11:04:31 EDT 2014


On Sat, May 24, 2014 at 12:56 AM, Ronak Dhakan <ronaksoni301 at gmail.com> wrote:
> I am learning python, and sometimes when I run a file with a faulty, windows gives a message that the system is rebooting and gives me 1 minute to save my work. Does anyone know how can I fix this? Most of the time a faulty code gives errors in python, but this is unique. I create files like Exercise 1.2.py and run it through IDLE.
>

I'm very much surprised that any Python coding error could do this.
What code triggers this? Is it consistent?

More likely it's something else in your system. Pure coincidence.

ChrisA



More information about the Python-list mailing list