Forum: Poser Python Scripting


Subject: Environment variables - Mac equivalent of APPDATA

3dcheapskate opened this issue on Apr 28, 2020 ยท 7 posts


adp001 posted Tue, 28 April 2020 at 4:45 AM

Is the APPDATA concept not Windows specific?

Using Python, os.gentenv("HOME") should you return the current users home directory.

Scripts running in Poser are part of the Poser-App. No need to keep some orphans which are dependent on Poser after Poser is deinstalled. On the other side: If I move Posers data area, I want to move script dependant data too.

Data areas under Poser-Pythons script path are completely safe and secure under all operating systems.