Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scoped variables.
#2
When appending printer to the list of printers it is only adding the function name, at this point i does not exist in the function.
When the func is called from the list of printers it gets the value from i which will be the last value from the loop
Reply


Messages In This Thread
Scoped variables. - by Charles1 - Aug-04-2019, 08:39 AM
RE: Scoped variables. - by Yoriz - Aug-04-2019, 10:28 AM

Forum Jump:

User Panel Messages

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