Closed am-cid closed 3 months ago
yes but this will not use Compiler.compile()
then Compiler.run()
. Instead, it will use Compiler.run_python()
for quicker outputs
yes but this will not use
Compiler.compile()
thenCompiler.run()
. Instead, it will useCompiler.run_python()
for quicker outputs
I did this pero sa VS terminal lalabas yung result is that fine? like transpiled python na
Thats good enough but much better if you can:
import tempfile
to create a temp python fileCompiler.source
there and get the file pathpython <file path>
for more information, see how Compiler.run_python()
is implemented. you can just replicate that behavior since Compiler.run_python()
does not open up a cmd, hence maybe why its outputting to VS Terminal. You can fill in the opening up cmd part on your replication.
https://github.com/Gidsss/UwUIDE/pull/219
I think its closely related here