Turn string into array with split Posted on October 18, 2015 at June 27, 2016 by Elijah 1954 0 textWithCommas = “bee,apple,pear,dog,carrot,robot” wordList = textWithCommas.split(“,”) print “the second item is : ” + textWithCommas[1] Keep Reading : Identify USB device and discover its name and port Serial Commands used by our Satellite transciever. while loop GPS RESPONSE CODE ORDER
Read email from a system pipe into python Posted by Elijah - August 15, 2016 0 #!/usr/local/bin/python import sys import email full_msg = “” for line in sys.stdin full_msg += line msg = email.message_from_string(full_msg) to =…
maserFire.py – Fire lasers with transistors and python on a Raspberry Pi 3 Posted by Elijah - March 17, 2017 0 Part two of five, "Rock, Paper, Lasers" 2017 Science Project. This is the basic laser python code.
Rotate Raspberry Pi Touchscreen Display 180d Posted by Elijah - July 1, 2016 0 Problem : our 7″ touchscreen is upside-down if you want to rest it on it’s holder. We need to edit…
Wire camera to pi Posted by Elijah - October 24, 2015 0 Install camera software & configure pi One picture program One picture per blink cycle Print proto time on picture …
Make Them Blink Posted by Elijah - November 15, 2015 0 You will need: 4 complete sets of LED’s and wires (see last lesson) The first thing you will need to…