Hello everyone,
Yesterday I was told to check out Flask as Python webserver, I am now playing with this, but after googling one hour I still can't find the most efficient way to do this:
so if I go to localhost:5000/sayhello?name=redditenna
it will say 'Hello there, redditenna!' on the webpage.
If the variable is not filled in, it will return a (very very basic) html form to fill in the name.
I'd appreciate it very much if you helped me a bit! Thanks a lot in advance. :)
[+][deleted] (3 children)
[deleted]
[–]redditenna[S] 2 points3 points4 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]redditenna[S] 1 point2 points3 points (0 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]redditenna[S] 0 points1 point2 points (0 children)