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/env python | |
# -*- coding: utf-8 -*- | |
""" Extend the capabilities of _one_ dimensional lists. | |
More-so an exercise of Python's decorators, magic methods and | |
OOP. | |
""" | |
from warnings import warn | |
from types import GeneratorType |
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/env python2 | |
# -*- coding: utf-8 -*- | |
""" Capure RPi camera images. This script is untested since I don't have a | |
drone and RPiCam to test it on. | |
""" | |
from glob import glob | |
from serial import Serial, SerialException | |
from time import sleep |
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/env python | |
# -*- coding: utf-8 -*- | |
def clock(*axes): | |
""" A quick generator for working with iterations over N-dimensional | |
arrays. Example usage: | |
>>> from clock import clock | |
>>> for i in clock(2, 3): | |
... print i |
NewerOlder