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
#2
This is not youtube!
it is youtu.be, but is guess that still works
Reply
#3
(Feb-18-2018, 01:43 AM)Larz60+ Wrote: This is not youtube!
it is youtu.be, but is guess that still works
It's the standard short link created when you click on Share button
Reply
#4
Quote:It's the standard short link created when you click on Share button
Realized that after original post, that's why the addition of:
Quote:it is youtu.be, but is guess that still works
Reply


Forum Jump:

User Panel Messages

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