7
I am making a program that uses a temporary file to save a serialized object (pickled). At the moment, the program is generating in the /tmp
, but this path is specific to Unix/Linux; wanted to take the path of the default temporary operating system directory that the program runs.
In Java, I know you can do it with System.getProperty("java.io.tmpdir")
.
What is the equivalent way to do this in Python?
good, that was it. =)
– elias