Python3 - How do I import a class from another file

Chris Angelico rosuav at gmail.com
Tue Dec 10 14:11:00 EST 2019


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


More information about the Python-list mailing list