I want to run the Python program on the web.

Asked 2 years ago, Updated 2 years ago, 50 views

I want to run the Python program on the web.

I want to make a converter like MP3 to WAV on the web

How should I do it? Is it possible to use Django or other web frameworks?

python django

2022-09-22 13:30

2 Answers

It is impossible to run Python on the web.If you want to implement a converter, you can do this.

For example, This repository is the same django project, but converts PDF into an image. I think it would be good to refer to how this sauce works.


2022-09-22 13:30

Usually, you can use ffmpeg, follow the subprocess, and return the result file.

Or, since it's a library with c, you can make an extension module and call it.

It would be easier to use projects that have already been wrapped, such as https://github.com/kkroening/ffmpeg-python.

It's a web service. You can use flask or django.


2022-09-22 13:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.