Run Python Code Online

I had a git hub repository with a python code in it.
I just wanted to know if there was any way i could run it in git hub itself without downloading the code
Being able to run the code as an HTML file is also fine but how to convert the .py file to HTML

Depending on what exactly you want to do Actions might be what you need:

It doesn’t work for dynamic websites though, if that’s what you’re after (because you mentioned HTML).