Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #71930 > unrolled thread

Windows rebooting due to faulty code

Started byRonak Dhakan <ronaksoni301@gmail.com>
First post2014-05-23 08:00 -0700
Last post2014-05-23 13:52 -0400
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Windows rebooting due to faulty code Ronak Dhakan <ronaksoni301@gmail.com> - 2014-05-23 08:00 -0700
    Re:Windows rebooting due to faulty code Dave Angel <davea@davea.name> - 2014-05-23 13:52 -0400

#71930 — Windows rebooting due to faulty code

FromRonak Dhakan <ronaksoni301@gmail.com>
Date2014-05-23 08:00 -0700
SubjectWindows rebooting due to faulty code
Message-ID<41e58dfd-b9c1-41b1-b849-ddc5ee8a978e@googlegroups.com>
I am learning python, and sometimes when I run a file with a faulty code, 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.

[toc] | [next] | [standalone]


#71939

FromDave Angel <davea@davea.name>
Date2014-05-23 13:52 -0400
Message-ID<mailman.10251.1400867598.18130.python-list@python.org>
In reply to#71930
Ronak Dhakan <ronaksoni301@gmail.com> Wrote in message:
> I am learning python, and sometimes when I run a file with a faulty code, 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.
> 

It is very unlikely that running a program will cause a proper
 Windows system to reboot.  The one example I can think of is the
 restart.exe program,  which is deliberately doing it.
 

It is even much less likely that it could be triggered by
 beginner's code written in python without 3rd party add-ons.
 

Therefore I'd conclude you've either got a corrupted system,  or
 you're tripping on a Windows bug.

The first things I'd do, if stuck on Windows for some reason,  is
 to check your system for Windows updates,  then for viruses,
 hackers, 
and such.
-- 
DaveA

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web