from panda3d.core import TemporaryFile
This is a special kind of FileReference class that automatically deletes the file in question when it is deleted. It is not responsible for creating, opening, or closing the file, however.
__init__(filename: Filename) → None¶
__init__(param0: TemporaryFile) → None¶