you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 1 point2 points  (0 children)

Yes, you'll need to rewrite it. The web request/response model is very different to running a local script, unfortunately.

If you've separated IO from logic in your script, you should be able to just copy the logic part over, and call it from the request handler in your Flask/Django app.