Is there a way to convert App Inventor code to Python code?

We are now planning to develop a system, which is like UVa Online Judge, but using App Inventor 2.
Based on our knowledge of App Inventor 2, App Inventor 2 imports Blockly techniques and Blockly supports code conversion. We planned to convert the projects’ bky files to Python code.
Is there a way to convert App Inventor code to Python code?

1 Like

Possibly, but I have never seen a tried and tested method for this.

Not really easily possible to convert AI2 blocks code to java either!