Closed Hzqkii closed 9 months ago
I think it would make more sense to use the tempfile
module. You can get the temporary directory with tempfile.GetTempDir()
.
I think it would make more sense to use the
tempfile
module. You can get the temporary directory withtempfile.GetTempDir()
.
I have changed it to use that.
Checks for whether the user is running Linux and uses
"/tmp"
instead of the environment variable"TEMP"
as it doesn't exist.