Fun with Python’s sys.getrefcount()

Python has a function called sys.getrefcount() that tells you the reference count of an object. For example, the following code,import sysprint sys.getrefco… Read more

Similar

Explaining Packaging in Python

If you’ve done much Python development you’re probably familiar with importing dependencies using pip, or even easy_install, if you’ve been at this for awhile. Whether you were aware of it or not… (more…)

Read more »