How can I install my script as-is on both C: and E:? Currently I have to hardcode path to supporting files and haven't figured out a way to make it generic:
Can I do something with sys.path? Now in emulator it contains:Code:if e32.in_emulator(): FILE_PICKER = 'c:\\python\\pic.jpg' FILE_LOG = 'c:\\python\\log.txt' else: FILE_PICKER = 'e:\\python\\pic.jpg' FILE_LOG = 'e:\\python\\log.txt'
Code:['c:\\private\\2000b1a5', 'c:\\resource', 'E:\\Python']