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


Groups > comp.lang.python > #71939

Re:Windows rebooting due to faulty code

From Dave Angel <davea@davea.name>
Subject Re:Windows rebooting due to faulty code
Date 2014-05-23 13:52 -0400
Organization news.gmane.org
References <41e58dfd-b9c1-41b1-b849-ddc5ee8a978e@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.10251.1400867598.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web