This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---templates | |
# uploads | |
# app.py | |
import os | |
# We'll render HTML templates and access data sent by POST using the | |
# request object from flask. Redirect and url_for will be used to | |
# redirect the user once the upload is done and send_from_directory will | |
# help us to send/show on the browser the file that the user just | |
# uploaded |