Am 07.05.2014 14:04, schrieb Christiaan Maks:
> Hi,
>
> I want to run my --onefile .exe from a USB stick and I want to pass
> the location of the .exe (so the USB drive) to the main Python file.
> How do I do this?
>
> For clarity:
>
> Program.exe is on USB drive E:\
> Launching Program.exe results in extracting to the temporary folder on
> C:\Users\...
> The main.py file gets E:\ as argument when launched.

I'm afraid you'll have to add this to the bootloader yourself. It should
not be so complicated, though.

-- 
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog:
http://www.goebel-consult.de/blog/digitalcourage-fur-taz-panter-preis-vorgeschlagen

Kolumne:
http://www.cissp-gefluester.de/2012-09-steht-ein-manta-fahrer-vor-der-uni

Goebel Consult ist Mitglied bei http://www.7-it.de/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to