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?
#2
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.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
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 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