|
How can we import python files(like the somepyfile.py from github or local python files)? pyimport("my_python_file.py")this seems not enough. |
Answered by
cjdoris
Apr 12, 2022
Replies: 1 comment 3 replies
|
In Python, do don't import files, you import packages. Either:
|
3 replies
Answer selected by
CaiYitao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Python, do don't import files, you import packages. Either:
pyexec(read("my_python_file.py")).