I want to switch from Phyton to Lua permanently, however everytime I enter a new level I have to restart the page
Go to your account in Codecombat and there should be a way to change it to Lua.
Please this post if it helps.
I don’t see that option
I mean your profile in Codecombat.
When you select a level, click on change hero. Then select the hero you want to play as and there will be a dropdown on the bottom. From there, you can permanently change to Lua for that hero. You can always switch back at anytime