Python Forum
Printing During a Loop
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Printing During a Loop
#12
Ok. I tried running my code at https://www.online-python.com/ and it works fine.

When I run it in the "Python Idle" tool that my class uses, it does NOT run correctly. All of the output happens at one time when the program is done.

And just for fun, I copied some "curvy" quotation marks from Word and pasted them into my code... and it still runs. No syntax errors.

So am I using some kind of junky version of Python? This is a Florida Virtual School class, by the way. The Python Idle tool is built into the class and opens in a browser window.
Python Idle is a tool that opens from inside the course. In its own window. If I work in there for too long and try to save my code, I get an error message and lose my work. So now I type my code in Word and paste it onto Python Idle to test it. It's a real pain.

(Oct-20-2021, 02:56 PM)buran Wrote: Can you make a screenshot of the code you run?
(Oct-20-2021, 02:50 PM)apeltes Wrote: I used Word to work on the code at one point because Python Idle kept timing out
I don't know what you mean that IDLE "kept timing out".

No. I'm running the code I posted. I'm not trying to fool anyone. I think the issue is with the "Python Idle" tool my class uses.

I attached a screen shot.

(Oct-20-2021, 10:10 AM)buran Wrote: It's obvious that you run something [completely] different from what you post - i.e. with the incorrect quotes it will not run at all and you haven't noticed them, the different output you claim, etc.


.pdf   PDF.pdf (Size: 73.67 KB / Downloads: 100)
Reply


Messages In This Thread
Printing During a Loop - by apeltes - Oct-19-2021, 04:02 AM
RE: Printing During a Loop - by DPaul - Oct-19-2021, 05:44 AM
RE: Printing During a Loop - by apeltes - Oct-19-2021, 07:00 AM
RE: Printing During a Loop - by buran - Oct-19-2021, 07:39 AM
RE: Printing During a Loop - by apeltes - Oct-19-2021, 04:15 PM
RE: Printing During a Loop - by buran - Oct-19-2021, 05:44 PM
RE: Printing During a Loop - by apeltes - Oct-19-2021, 11:37 PM
RE: Printing During a Loop - by ibreeden - Oct-20-2021, 07:30 AM
RE: Printing During a Loop - by buran - Oct-20-2021, 10:10 AM
RE: Printing During a Loop - by apeltes - Oct-20-2021, 02:50 PM
RE: Printing During a Loop - by buran - Oct-20-2021, 02:56 PM
RE: Printing During a Loop - by apeltes - Oct-20-2021, 03:19 PM
RE: Printing During a Loop - by buran - Oct-20-2021, 04:04 PM
RE: Printing During a Loop - by buran - Oct-20-2021, 04:08 PM
RE: Printing During a Loop - by apeltes - Oct-20-2021, 04:25 PM
RE: Printing During a Loop - by jefsummers - Oct-20-2021, 08:03 PM
RE: Printing During a Loop - by apeltes - Oct-21-2021, 12:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with for-loop printing. I want it to print only once. blacklight 2 6,998 Jun-26-2020, 02:23 AM
Last Post: pyzyx3qwerty
  My Loop for printing text file goes to infinity Nomex 7 4,278 Feb-10-2020, 03:13 PM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020