'How to compile a py file from another py file by using a module ? (Therefore not Cmd)
I want to make a code (that I'll call compiler.py), that'll compile any py file I need without using cmd commands, only modules(Things that are compilable So I can still Use my compiler on other devices).
Here are some examples of code to illustrate what I am asking for: Here is how compiler.py would look like : compiler.py
And this is randomprogramm.py : randomprogramm.py
Any Idea on how to proceed ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
