[Tutor] What is the easiest way to ensure the current working directory is the same as the directory where the main program is saved?

Mats Wichmann mats at wichmann.us
Fri Jul 2 12:59:20 EDT 2021


On July 2, 2021 10:06:02 AM MDT, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:
>On Thu, 1 Jul 2021 19:02:14 -0500, boB Stepp <robertvstepp at gmail.com>
>declaimed the following:
>
>>One thing that is mildly troubling is that if I wish to write
>>cross-platform applications then I must go to the bother of detecting
>>the user's OS and stashing "data" appropriately for that OS.  But that
>>should not normally be too troublesome.

Take a look at the applies package on pypi for some help with this.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


More information about the Tutor mailing list