The Startup
Published in

The Startup

Photo by on

Everything Is an Object in Python — Learn to Use Functions as Objects

Just like str, int, and dict, functions are also objects in Python. Find out how we can take advantage of this feature to write more flexible code.

You’ve probably heard the saying that everything is an object in Python — one of the most popular…




Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +756K followers.

Recommended from Medium

A simple fix to the “Element is not clickable…” problem in Selenium

If You’re Learning to Code, You Need to Learn Git

Code on a screen

SWYFT FILINGS LLC Jobs, Career & Employment Opportunities

Maven out of memory error — metaspace vs heap

The chances are high that if you’re running AWS containers, you already know about Amazon EFS…

4 Tips for Creating a Beautifully Designed API with Great UX

User-Centred Design and Evaluation of Infrastructural Software

AMA with Heroku Engineering Director Rick Newman [Wed 2pm PST]

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yong Cui

Yong Cui

Work at the nexus of biomedicine, data science & mobile dev. Love to write on these technological topics. Follow me @ycui01 on Twitter to get latest articles.

More from Medium

How to DRY your Python code

Use Python to Sort an Unsorted List

How Many Data Types in Python?

Augmented Assignments in Python