Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3990

Beginners • Re: Cron script issue with Python .env in order to run a script

$
0
0
Finally, it works (still some path issues Windows/linux...)

AFAIK there's no automatic way around those. If it's path element concatenation use os.path.join('a','b') will use the OS specific separator but IIRC you need to cope with the drive letter and variable expansion stuff your self.

Though those aren't the only windows/linux cross platform difference in python.

Statistics: Posted by thagrol — Sat Oct 05, 2024 11:45 pm



Viewing all articles
Browse latest Browse all 3990

Trending Articles