How to run a .pyc file? #3480
Answered
by
davidhewitt
Fluffyalien1422
asked this question in
Questions
-
#2360 says to use I'm looking for something similar to How do you do it, if it's possible? |
Beta Was this translation helpful? Give feedback.
Answered by
davidhewitt
Sep 29, 2023
Replies: 1 comment 5 replies
-
Importing a module will execute that module. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IIRC
.pyc
is a valid module extension, so e.g.path/to/code.pyc
should work withPyModule::import("path.to.code")
.