Python Forum
Restart Error when using code from lesson book
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Restart Error when using code from lesson book
#3
When I copied and pasted it I didn't realize that the indents didn't paste properly. On my original, I did indent. But the fact that it worked for you might mean that I don't actually have all the lines correctly indented. I will check and let you know if that changes anything. Thank you.

Thank you. The indents were not all correct. And I think I know why I had trouble reading them. The code examples in the lesson book are in separate blocks so I didn't pay attention to the indents.
At any rate, it seems to work! Except now I will tinker with it. Again, thank you.
Reply


Messages In This Thread
RE: Restart Error when using code from lesson book - by Kathleen57 - Mar-13-2020, 09:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How a Mac OS software can restart itself with admin permission in Python 3.7? Formationgrowthhacking 0 1,790 Sep-03-2020, 05:29 PM
Last Post: Formationgrowthhacking
  Using a button to kill and restart a script duckredbeard 3 3,342 Sep-01-2020, 12:53 AM
Last Post: duckredbeard
  Error: How to to close and restart your shell after running 'conda init' angelica 3 10,286 May-27-2020, 10:00 AM
Last Post: snippsat
  Hotkey to restart code? DannyB 1 2,761 May-20-2020, 02:52 AM
Last Post: michael1789
  Kernel needs to restart ErnestTBass 0 2,363 May-06-2020, 08:37 PM
Last Post: ErnestTBass
  How to restart Python after input change ozstar 3 2,398 Apr-29-2020, 03:16 AM
Last Post: ozstar
  While loop won't restart program :( TheDovah77 4 4,241 Apr-04-2019, 07:37 PM
Last Post: TheDovah77
  Alien game code from book TheMusicMan 4 3,183 Aug-26-2018, 06:05 PM
Last Post: TheMusicMan
  Jupyter error - 'The kernel appears to have died, it will restart automatically' meganhollie 5 18,032 Jun-12-2018, 10:11 PM
Last Post: Larz60+
  pyython code copied 1to1 from book not working. BlackReptile 2 2,894 Feb-21-2018, 02:46 AM
Last Post: abhin

Forum Jump:

User Panel Messages

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