- Introductory Topics
- PEP 498 - f-strings https://docs.python.org/3.6/whatsnew/3.6.html#whatsnew36-pep498
- Mutable vs. immutable objects
- Classes and Objects
- Iterators
- Working with strings
- File I/O
- Python 2 and Python 3
This file contains 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
2015-04-25 09:09:18 MST, 309 | |
2015-04-25 09:11:17 MST, 1089 | |
2015-04-25 09:13:16 MST, 1968 | |
2015-04-25 09:15:16 MST, 2855 | |
2015-04-25 09:17:16 MST, 3710 | |
2015-04-25 09:19:16 MST, 4588 | |
2015-04-25 09:21:15 MST, 5432 | |
2015-04-25 09:23:15 MST, 6317 | |
2015-04-25 09:25:15 MST, 7226 | |
2015-04-25 09:27:14 MST, 8148 |
This file contains 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
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"#Testing out PlanetaryImage" | |
] | |
}, | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
{ | |
"0044ML0205000000E1_DXXX.img": { | |
"url": "http://" | |
}, | |
"0778ML0033700000400205E01_XXXX.LBL": { | |
"url": "http://", | |
"datafile": "0778ML0033700000400205E01_XXXX.LBL", | |
"skip": "True" | |
}, | |
"0778ML0033700000400205I01_XXXX.LBL": { |
This file contains 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
import os | |
from glob import glob | |
def file_dir_glob_list(inlist=None): | |
"""Given a list of files, directories or globs, returns a fully expanded | |
list of files | |
""" | |
file_list = [] | |
if inlist: |
This file contains 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
import numpy as np | |
dt = np.dtype([ | |
('time', [('min', int), ('sec', int)]), | |
('temp', float) | |
]) | |
# create array with dtype | |
x = np.zeros((5,5), dtype=dt) |
This is what I did to get the attached script, imgxmit.py, to work on raspbian
Make sure raspberry pi camera is enabled:
raspi_config
Installed system level dependencies
This file contains 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
From 1218660a7528a137e26b5fe38e58fb897f54f7e7 Mon Sep 17 00:00:00 2001 | |
From: Austin Godber <[email protected]> | |
Date: Fri, 25 Dec 2015 13:36:10 -0700 | |
Subject: [PATCH 1/2] trying just cmake variables | |
--- | |
build/build.sh | 8 +++++++- | |
1 file changed, 7 insertions(+), 1 deletion(-) | |
diff --git a/build/build.sh b/build/build.sh |