Python Forum
Why doesn't my code display?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why doesn't my code display?
#3
(Apr-15-2018, 01:27 PM)sparkz_alot Wrote: you never call the 'main()' function. You'll want to make the last lines of your code:
 if __name__ == "__main__": main() 
That should do it, provided the rest of your code is correct.
Thank you so much!
Reply


Messages In This Thread
Why doesn't my code display? - by beginnercoder04 - Apr-14-2018, 10:59 PM
RE: Why doesn't my code display? - by sparkz_alot - Apr-15-2018, 01:27 PM
RE: Why doesn't my code display? - by beginnercoder04 - Apr-21-2018, 03:27 AM
RE: Why doesn't my code display? - by CharlieGallie - Apr-22-2018, 11:45 PM

Forum Jump:

User Panel Messages

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