Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with classes
#4
Larz60+,
Thanks for the help! Yeah, there are some errors that I need to fix.
Is it worth eliminating all the global variables for the extra use of self? It seems like self is overused in all the functions. And if the class is only being used for global variables and calling functions, does it really count as a class?

Thanks!
Reply


Messages In This Thread
Help with classes - by lucaswinnerton - Feb-06-2019, 06:33 PM
RE: Help with classes - by woooee - Feb-06-2019, 08:22 PM
RE: Help with classes - by lucaswinnerton - Feb-06-2019, 08:26 PM
RE: Help with classes - by Larz60+ - Feb-06-2019, 08:23 PM
RE: Help with classes - by woooee - Feb-06-2019, 09:40 PM
RE: Help with classes - by lucaswinnerton - Feb-06-2019, 10:01 PM
RE: Help with classes - by Larz60+ - Feb-07-2019, 01:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Using classes? Can I just use classes to structure code? muteboy 5 5,113 Nov-01-2017, 04:20 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

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