aditeyabaral / arithmetic-as-a-service

Implementing arithmetic operations as a service because why not.
https://arithmetic-service.herokuapp.com
12 stars 5 forks source link

Hey aadi #5

Closed Mohamed-Ayaan358 closed 3 years ago

Mohamed-Ayaan358 commented 3 years ago

This is basically running a html code on python and being able to using it in a different python program right?

aditeyabaral commented 3 years ago

Hello, Not really. Flask is a web framework for Python, used to develop web apps and is capable of rendering webpages. It is not HTML running on Python but rather, Python rendering HTML-like objects. Note that this app does not need a HTML file at all, it just needs to return a response containing the answer of the evaluation. And that is what has been implemented - no HTML file is required, since then the service will essentially break.

Also, just a piece of advice: do not open up a new issue if you have doubts. If you have questions, comment on any of the existing issues.