Skip to content

Instantly share code, notes, and snippets.

View cdce8p's full-sized avatar

Marc Mueller cdce8p

  • Germany
  • 04:26 (UTC +02:00)
View GitHub Profile
dschep / raspbian-python3.6.rst
Last active October 24, 2023 14:57 — forked from BMeu/raspbian-python3.5.rst
Installing Python 3.6 on Raspbian

Installing Python 3.6 on Raspbian

As of January 2018, Raspbian does not yet include the latest Python release, Python 3.6. This means we will have to build it ourselves, and here is how to do it. There is also an ansible role attached that automates it all for you.

  1. Install the required build-tools (some might already be installed on your system).

dhrrgn /
Last active January 28, 2024 21:25
A handy SQL debug function for Flask-SQLAlchemy
from . import app
from flask.ext.sqlalchemy import get_debug_queries
if app.debug:
def sql_debug(response):
queries = list(get_debug_queries())
query_str = ''