Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20361 > unrolled thread
| Started by | waylan <waylan@gmail.com> |
|---|---|
| First post | 2012-02-13 11:50 -0800 |
| Last post | 2012-02-13 15:47 -0500 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.lang.python
Strange Behavior on Python 3 Windows Command Line waylan <waylan@gmail.com> - 2012-02-13 11:50 -0800
Re: Strange Behavior on Python 3 Windows Command Line Arnaud Delobelle <arnodel@gmail.com> - 2012-02-13 20:16 +0000
Re: Strange Behavior on Python 3 Windows Command Line Waylan Limberg <waylan@gmail.com> - 2012-02-13 15:47 -0500
| From | waylan <waylan@gmail.com> |
|---|---|
| Date | 2012-02-13 11:50 -0800 |
| Subject | Strange Behavior on Python 3 Windows Command Line |
| Message-ID | <f676490c-e98f-4e0b-8c45-ff0748ff877b@m24g2000yqb.googlegroups.com> |
When I try running any Python Script on the command line with Python
3.2 I get this weird behavior. The cursor dances around the command
line window and nothing ever happens. Pressing Ctr+C does nothing.
When I close the window (mouse click on X in top right corner), an
error dialog appears asking me to "force" it to close.
See a short (26 sec) video of it here: https://vimeo.com/36491748
Also, the printer suddenly starts printing multiple copies of the
contents of the command line window - which has wasted much paper.
Strangely it was working fine the other day. Then while debugging a
script it suddenly started do this and now does this for every script
I've run in Python 3.2. Multiple system reboots had no effect.
I also have Python 2.5 & 2.7 installed and they work fine.
Even the most basic script results in this behavior:
if __name__ == "__main__":
print("Hello, World!")
In an attempt to check the exact version of Python, even this causes
the strange behavior:
c:\Python32\python.exe -V
I'm on Windows XP if that matters. IDLE (which works fine) tells me
I'm on Python 3.2.2
Any suggestions?
[toc] | [next] | [standalone]
| From | Arnaud Delobelle <arnodel@gmail.com> |
|---|---|
| Date | 2012-02-13 20:16 +0000 |
| Message-ID | <mailman.5775.1329164176.27778.python-list@python.org> |
| In reply to | #20361 |
On 13 February 2012 19:50, waylan <waylan@gmail.com> wrote: > When I try running any Python Script on the command line with Python > 3.2 I get this weird behavior. The cursor dances around the command > line window and nothing ever happens. Pressing Ctr+C does nothing. > When I close the window (mouse click on X in top right corner), an > error dialog appears asking me to "force" it to close. I'm not a Windows user, so I can't be of assistance but it may help others if you explained how you installed Python 3.2 on your computer. Also have you tried reinstalling it? > Strangely it was working fine the other day. Then while debugging a > script it suddenly started do this and now does this for every script How were you debugging? -- Arnaud
[toc] | [prev] | [next] | [standalone]
| From | Waylan Limberg <waylan@gmail.com> |
|---|---|
| Date | 2012-02-13 15:47 -0500 |
| Message-ID | <mailman.5776.1329166079.27778.python-list@python.org> |
| In reply to | #20361 |
On Mon, Feb 13, 2012 at 3:16 PM, Arnaud Delobelle <arnodel@gmail.com> wrote: >> Strangely it was working fine the other day. Then while debugging a >> script it suddenly started do this and now does this for every script > > How were you debugging? I think I may have been attempting to use pipes to redirect stdin and/or stdout when the problem first presented itself. Unfortunately, once I closed the window, I lost whatever pipe combination I had tried. It just occurred to me that I was unsure if I had been doing that pipe correctly, and that maybe I overwrote python.exe. Sure enough, the modify date on that file indicated I overwrote it. A re-install has resolved the problem. It's just a little embarrassing that I didn't think of that until now, but the fact that everything else seems to work was throwing me off. Of course, everything else was running `pythonw.exe` not `python.exe`. Anyway, thanks for the pointer Arnaud. -- ---- \X/ /-\ `/ |_ /-\ |\| Waylan Limberg
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web