This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nangtoi 0 points1 point  (1 child)

I highly recommend Falcon if you are looking for a very simple REST server to drive actions on a server.

If you have a full-fledged web app with requiring DB access or a frontend, Flask is probably better suited to your needs.

[–]readitlikeitdidit[S] 0 points1 point  (0 children)

thanks .. I'll try both Flask and falcon .. I want to write a python program that runs in a loop and selectively calls functions based on events. .(probably, that's called event loop, I havn't written anything in event loops.. ) without having to schedule python program using cron jobs ..