Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
global variables, classes, imports
In Python, anytime a variable is referenced, it will be looked for in the local scope, then enclosing scope, up to global. Methods are no different than functions in this way.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  NameError with global hsunteik 2 59 Feb-18-2017, 11:27 AM
Last Post: ichabod801
  A question about global variables Goldberg291 3 126 Feb-02-2017, 10:50 PM
Last Post: ichabod801
  Global Variables. Migrate code from MatLab Felipe 8 200 Jan-13-2017, 01:19 AM
Last Post: Felipe
  Classes are blowing my mind! mcmxl22 5 290 Jan-03-2017, 05:01 PM
Last Post: snippsat
  Help with classes J125 9 423 Dec-15-2016, 03:38 PM
Last Post: J125
  Classes error BluezamX 2 220 Nov-16-2016, 06:52 PM
Last Post: BluezamX
  Sharing global variables between script in python capponero 3 277 Oct-27-2016, 09:56 PM
Last Post: nilamo

Forum Jump:

Users browsing this thread: 1 Guest(s)