osdir.com


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

Python3 - How do I import a class from another file


You could write the name of the class variable you want to import for example class manager

On December 10, 2019, at 2:46 AM, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:

On Mon, 9 Dec 2019 20:21:39 +0100, "R.Wieser" <address at not.available>
declaimed the following:


>
>And than when the instance is deleted the binding to the class is lost, and 
>as a result it is garbage-collected.  Right ?
>
	Quite likely...


-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
	wlfraed at ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

-- 
https://mail.python.org/mailman/listinfo/python-list