-
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. |
Beta Was this translation helpful? Give feedback.
Answered by
cjdoris
Apr 12, 2022
Replies: 1 comment 3 replies
-
In Python, do don't import files, you import packages. Either:
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
CaiYitao
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
In Python, do don't import files, you import packages. Either:
pyexec(read("my_python_file.py"))
.