Skip to content

Instantly share code, notes, and snippets.

View stephansemerad's full-sized avatar
🏠
Working from home

Stephan stephansemerad

🏠
Working from home
  • Munich
View GitHub Profile
@stephansemerad
stephansemerad / app.py
Created June 9, 2022 09:36
Example of download excel file with Buffer
import openpyxl
from openpyxl import load_workbook
from io import BytesIO
from flask import Flask, jsonify, Response
app = Flask(__name__)
@app.route("/")
def index():
import requests
document.getElementById("json").innerHTML = JSON.stringify(data, undefined, 4);
@stephansemerad
stephansemerad / test
Last active March 29, 2021 21:10
large
import requests
import requests
import requests
import requests
import requests
requests import
import
requests
import request guohr