-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Understanding working with bottle #12
Comments
Bottle is what is called a Web Server Gateway Interface (WSGI) framework. Let's take a tour through the Internet.
import bottle
app = bottle.Bottle()
@app.get('/say/hello')
def function_which_says_hello():
return 'hello'
app.run()
What happens when you ask for a location(URL) like |
What does
This is a snippet of @shivank98 's code of server.py . There is no such page as |
Does that answer your question? Further reading( In the future when you have time, I fully recommend trying to read both documents fully. Lots of interesting stuff): |
Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.
The text was updated successfully, but these errors were encountered: