Is there a way to import the name (or the path) of the random-generated temp folder?
I know about --runtime-tmpdir which only defines the base path, but a random-named folder will still be created in that temp dir.
--runtime-tmpdir
I see two (hacky) workarounds:
But, whats the proper way of doing this? Thanks
Found a way ! The temporary path is added automatically to sys.path by pyinstaller. So it can easily be extracted from there.
sys.path
2.1m questions
2.1m answers
60 comments
57.0k users