mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 19:55:49 +03:00
[GH-ISSUE #34] Import from another folder? #32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xzzh999 on GitHub (Nov 22, 2018).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/34
Hi~ nice work!
When i import a python file from another folder, it can build, but can't run, why?
how to fix this? btw, i use
sys.path.append('./another_folder')to search the module.@brentvollebregt commented on GitHub (Nov 22, 2018):
If you explicitly use the
importkeyword to import, then PyInstaller will find you script and package it.@xzzh999 commented on GitHub (Nov 22, 2018):
@brentvollebregt
thank you for your reply, after i set
-pto that folder, it worked.