Convert lua to python?

I made a game in corona sdk but I want to convert it into a python file so basically since its lua code, is their any way i could convert it into python?

Did you write this game or bought the code? Corona is not Lua. Corona libraries are accessible via Lua ((and maybe written in Lua), but they are not “Lua”. You can convert all the Lua bits (if then else statements for example) to Python with some work, but at the end of the day, you are going to need the equivalent of the Corona libraries and the Corona build pipeline in the Phyton side. Since the Corona does not offer the SDK in Python or have a Pipeline to build executables from Pipeline those calls would have to come from a different library and a different pipeline. 

Not to be flippant, but, “Yes”,  learn Python, then convert it by hand from Lua to Python.

If you’re looking for a automatic-converter, but  automatic conversion is unlikely to give you the results you want.  The output probably won’t be easy to read, understand, or edit.

PS - Also, totally agree with @agramonte,  It isn’t ‘just Lua’  Only the pure lua parts of your code are Lua, everything else is calls to Corona features that won’t translate to anything  in Python.

Did you write this game or bought the code? Corona is not Lua. Corona libraries are accessible via Lua ((and maybe written in Lua), but they are not “Lua”. You can convert all the Lua bits (if then else statements for example) to Python with some work, but at the end of the day, you are going to need the equivalent of the Corona libraries and the Corona build pipeline in the Phyton side. Since the Corona does not offer the SDK in Python or have a Pipeline to build executables from Pipeline those calls would have to come from a different library and a different pipeline. 

Not to be flippant, but, “Yes”,  learn Python, then convert it by hand from Lua to Python.

If you’re looking for a automatic-converter, but  automatic conversion is unlikely to give you the results you want.  The output probably won’t be easy to read, understand, or edit.

PS - Also, totally agree with @agramonte,  It isn’t ‘just Lua’  Only the pure lua parts of your code are Lua, everything else is calls to Corona features that won’t translate to anything  in Python.