PythonByteSize
  • Home
  • Video Index
    • 1. The Basics
    • 2. Python Program Structures
    • 3. Python Operators
    • 4. Python Functions
    • 5. Introduction to Classes and Objects
    • 6. Python Strings
    • 7. User Defined Functions
    • 8. Classes and Objects
    • 9. Python Dictionaries
    • 10. Python tkinter
    • 11. Python Lists
    • 12. Python Namespaces
    • 13. Turtle Graphics
    • 14. Python Tips
    • 15. Complex Numbers
  • 1-Minute Videos
  • Exercise Index
    • 1. The Basics Exercises
    • 2. Python Program Structures Exercises
    • 3. Python Operators Exercises
    • 4. Python Functions 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
​

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