Skip to content

Instantly share code, notes, and snippets.

@SeppPenner
SeppPenner / Installing Python 3.7.4 on Raspbian.rst
Last active May 9, 2024 21:52
Installing Python 3.7.4 on Raspbian

Installing Python 3.7.4 on Raspbian

As of July 2018, Raspbian does not yet include the latest Python release, Python 3.7.4. This means we will have to build it ourselves, and here is how to do it.

  1. Install the required build-tools (some might already be installed on your system).
@slendidev
slendidev / python-3.6-pi.sh
Last active July 15, 2021 17:34
Install python 3.6 on your RPi!
#!/usr/bin/bash
putsc() {
echo -en "\e[34m :: \e[0m $@"
}
putscl() {
putsc "$@\n"
}
@dschep
dschep / raspbian-python3.6.rst
Last active November 21, 2024 15:10 — 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).
@spiridonovpolytechnic
spiridonovpolytechnic / rpi_kivy_dual_display.py
Created November 17, 2016 03:25
Raspberry Pi kivy dual display code structure example
from multiprocessing import Process, Manager, Event
def display_process(dict_global, is_master, exit_event):
import os
if is_master:
os.environ["KIVY_BCM_DISPMANX_ID"] = "4"
else:
os.environ["KIVY_BCM_DISPMANX_ID"] = "5"
# kivy module imports go here