ITADN
ofek/pyapp/Issues

Self reference binary file

#215Closedvk496 创建于 2025-10-28
V
vk496commented
Hello and thank you for this amazing project! I would like to access the path and filename of the packaged binary from code, but it's not clear for me if is even possible. Ideally, I would like to do it from env var. Something like: ``` import os file_location = os.environ["PYAPP_FILE_LOCATION"] ``` BR, Valentin
关闭于 2025-10-28 3 条评论