Last active
April 11, 2020 17:08
-
-
Save gwsu2008/d8984035af00b373a440ab9a73cce429 to your computer and use it in GitHub Desktop.
python-import-modules.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# main.py | |
import A | |
import sys | |
sys.path.insert(0, r'.\subfolder') | |
import B | |
objectA = A.A('Alice') | |
objectB = B.B('Bob') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment