Skip to content

Instantly share code, notes, and snippets.

View phanirithvij's full-sized avatar
😁
Ho ho ho

loudgolem phanirithvij

😁
Ho ho ho
View GitHub Profile
@phanirithvij
phanirithvij / webdev_online_resources.md
Created July 27, 2018 08:27 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@phanirithvij
phanirithvij / app.py
Created July 2, 2018 11:59 — forked from liulixiang1988/app.py
upload multiple files in Flask
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
from flask import Flask, render_template, request, redirect, url_for, send_from_directory
from werkzeug import secure_filename
# Initialize the Flask application