This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# By Zeth | |
# Website http://zeth.net | |
# Twitter: zeth0 | |
"""Make a Vcard qrcode using the qrcode module.""" | |
import qrcode | |
FILENAME = "output.png" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/python | |
"""Spy system written in 60 seconds(ish).""" | |
import picamera | |
from datetime import datetime | |
from time import sleep | |
DELAY = 60 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@raspberrypi ~/kiventproject/kivent/examples/1_empty_kivent_app $ python main.py | |
[INFO ] [Logger ] Record log in /home/pi/.kivy/logs/kivy_15-09-25_21.txt | |
[INFO ] [Kivy ] v1.9.1-dev | |
[INFO ] [Python ] v2.7.3 (default, Mar 18 2014, 05:13:23) | |
[GCC 4.6.3] | |
[INFO ] [Factory ] 177 symbols loaded | |
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_pygame, img_pil (img_ffpyplayer ignored) | |
[INFO ] [Window ] Provider: egl_rpi | |
[INFO ] [GL ] OpenGL version <OpenGL ES 2.0> | |
[INFO ] [GL ] OpenGL vendor <Broadcom> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
"""The once and future King.""" | |
import math | |
import sys | |
print ( | |
chr(int(sys.version[0])**3*3+3*3) | |
+ sys.exit.__doc__[0].lower() |
NewerOlder