Python Forum
a module discovering its own name
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a module discovering its own name
#5
__name__ is better, __file__ doesn't work in interactive mode because there is no file
Reply


Messages In This Thread
a module discovering its own name - by Skaperen - Sep-17-2019, 08:36 PM
RE: a module discovering its own name - by Larz60+ - Sep-18-2019, 12:03 AM
RE: a module discovering its own name - by Skaperen - Sep-19-2019, 10:33 PM
RE: a module discovering its own name - by Larz60+ - Sep-19-2019, 11:41 PM

Forum Jump:

User Panel Messages

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