osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python3 - How do I import a class from another file


On Wed, Dec 11, 2019 at 6:06 AM R.Wieser <address at not.available> wrote:
>
> MRAB,
>
> > You merely disabled the mark-and-sweep collector.
>
> Nope.   Go check the docs on "gc"
>

https://docs.python.org/3/library/gc.html

"""
This module provides an interface to the optional garbage collector.
... Since the collector supplements the reference counting already
used in Python, you can disable the collector if you are sure your
program does not create reference cycles.
"""

Once again, you make positive assertions about things you don't understand.

ChrisA