I tried looking online for this a lot but I couldn't find a solution. I know how to upload files to GitHub but I have no idea on how to run python files on github.io. I can't figure out how to get them to run, and I'm pretty sure Github pages can only run HTML, CSS, or javascript. Is there any way to call python files in a different HTML file?
CodePudding user response:
I am not sure if you can call Python from HTML but you really can't host Python in GitHub Pages so you need to use another alternative like Heroku or another great alternative is Netlify
Side Note: Netlify and Heroku are free.
CodePudding user response:
Step 1: Download The Source Code. First, download the source code of the Python program you want to run. ... Step 2: Open A Command Prompt And cd There. ... Step 3: Run The Python Program