EdgeLine .PY file for imx8

Hello ,
I’ve used Edgeline to build a Gui and generate an PY file
When I run it under IDLE Python, i have an error on the first line
Your help is well come
Bye

lv.scr_load(lv.obj())
if ‘Screen1’ in globals(): Screen1.clean()
if ‘Sc_Settings’ in globals(): Sc_Settings.clean()
if ‘Sc_Agenda’ in globals(): Sc_Agenda.clean()

You should run it in lv_micropython, not in idle Python.