Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #42756
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2013-04-04 08:16 -0700 |
| Message-ID | <bb3ec5db-e9e3-46e5-8404-e29805c149ed@googlegroups.com> (permalink) |
| Subject | Error running any script in IDLE |
| From | mattgraves7@gmail.com |
Im fairly new to Python. I was trying to run a script using IDLE and it came back with an error and immediately shut down. After this, every script I tried to test within IDLE would do the same. I wrote the following script:
while True
x = input("test")
It seems simple enough to not be screwed up in any way, but when I hit F5 to test, it gets red text and shuts down IDLE. It scrolls too fast to see before shutting down, but I right clicked the text quickly to pause it. This is what it comes back with:
http://s21.postimg.org/4so8merdz/asdfg.png
Can anyone tell me what's going on, and why this error comes up regardless of what script I try to run in IDLE?
If I run it in cmd, it seems to work fine.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Error running any script in IDLE mattgraves7@gmail.com - 2013-04-04 08:16 -0700
Re: Error running any script in IDLE Chris Angelico <rosuav@gmail.com> - 2013-04-05 02:29 +1100
Re: Error running any script in IDLE mattgraves7@gmail.com - 2013-04-04 08:33 -0700
Re: Error running any script in IDLE Chris Angelico <rosuav@gmail.com> - 2013-04-05 02:38 +1100
Re: Error running any script in IDLE mattgraves7@gmail.com - 2013-04-04 08:33 -0700
Re: Error running any script in IDLE Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-04-04 17:12 +0100
csiph-web