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

14.8. ​Python Tip: First Class Objects

It is often said that everything in Python is an object. A function is no exception. A function is an object in Python and can be treated as an object and therefore can be assigned to a variable; stored in a data structure and so on. This object nature of a Python function results in referring to a function as a first class object. This video discusses the first class object nature of a Python function and offers up a schematic diagram to help understand the mechanism underlying this concept.
<< Previous Video
​​End of Section 14

Next Section >>
​
Back to Video Index >>
Please consider donating to help with the costs incurred in developing this website.             Donate >>