DEV Community

Discussion on: Can I run a python program on my website?

Collapse
 
lschultebraucks profile image
Lasse Schultebraucks

The are different approaches to this challenge.

I would suggest you to check out following post

They describe opportunities to transpile your python code to javascript or they give your an opportunity for a python runtime on the browser. You have to decide which way works best for you.

Collapse
 
vicrost profile image
vicrost

Thank you. From what I read , I personally think I should just continue learning JavaScript. Its definitely worth learning and so far, not too difficult.

Collapse
 
lschultebraucks profile image
Lasse Schultebraucks

Re-Implementing your program would be definitely a good exercise.
Maybe you can create the backend with django or another python backend framework if you like. Or you just build the whole application in JS with a backend framework like Express or Next.JS