Skip to content

Instantly share code, notes, and snippets.

View vettukal's full-sized avatar

Vincent Mathew (vettukal) vettukal

View GitHub Profile
@yogthos
yogthos / clojure-beginner.md
Last active December 2, 2024 11:03
Clojure beginner resources

Introductory resources

<!doctype html>
<title>Python Flask Multiple Files Upload Example</title>
<h2>Select file(s) to upload</h2>
<p>
{% with messages = get_flashed_messages() %}
{% if messages %}
<ul class=flashes>
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
import zipfile
import os
from flask import send_file,Flask,send_from_directory
app = Flask(__name__)
@app.route('/download_files')
def download_all():
# Zip file Initialization and you can change the compression type
zipfolder = zipfile.ZipFile('Audiofiles.zip','w', compression = zipfile.ZIP_STORED)