PythonByteSize
  • Home
  • Detailed Videos
  • 1-Minute Videos
  • Exercises
  • Donate
  • Computing Topics
  • Mathematics
  • Educators
  • Contact
  • About

​7.11. In functions do not directly access global variable

This video gives advice on function design. In particular it outlines why you should not directly access global variables from within a function. It also outlines some of the pitfalls of accessing global variables from inside a Python function.
<< Previous Video
Next Video >>
Please consider donating to help with the costs incurred in developing this website.             Donate >>