Python Forum
simulate static local varibles with getattr
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
simulate static local varibles with getattr
#1
Just post YouTube video with how to use getattr builtin method to create function state that presist between calls. This is done more to teach newer python users and is not necessarily how you would solve this problem in general. see: https://youtu.be/yHMqif_FzHY
Reply


Messages In This Thread
simulate static local varibles with getattr - by gjenkinslb - Feb-17-2018, 11:32 PM

Forum Jump:

User Panel Messages

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