While I have been programming for a lonnnng time, I am relatively new to python. So a newbie question. I see many of pomoco’s files are compiled python code. How do I compile a move that I have written?
Python dynamically pseudo-compiles to bytecode, so you don’t have to do anything. Just put python file in the moves folder, run PoMoCo, and it should show up as a button you can press to run.
Thanks, but that wasn’t my question. I noticed in the moves folder that the py files are accompanied by pyc (compiled) files which I assume run faster. I was asking how I could generate them for my moves.
There’s no need to generate them - they’re generated automatically whenever the file is run.