Merge pull request #1 from its-joseph-230606/its-joseph-230606-patch-1
Improved example code
This commit is contained in:
commit
07c2aa4713
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ A Simple Example
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def hello():
|
def hello():
|
||||||
return "Hello, World!"
|
return "Hello, World!"
|
||||||
|
if __name__ == "__main__":
|
||||||
|
app.run()
|
||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue