python web example

Example 1: python simple web app

# Core web app using flask
# Download flask if you haven't
from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, World!'

if __name__ == '__main__':
    app.run()

# If you want to put this on the internet, use something like heroku to deploy it.

Example 2: python website example

# There are many Python Websites that are built on Django
Youtube(Python Backend)
Instagram(Django)
Google(Python Backend)
Spotify
Uber(Backend)
DropBox
Pinterest
Instacard