User:Max Dovey/PT: Difference between revisions
(→Week 1) |
No edit summary |
||
Line 9: | Line 9: | ||
in the afternoon we played with | in the afternoon we played with Turtle. | ||
http://opentechschool.github.io/python-data-intro/core/recap.html | http://opentechschool.github.io/python-data-intro/core/recap.html | ||
Line 16: | Line 16: | ||
http://bitsofpy.blogspot.nl/2010/04/in-my-cosc-lab-today-few-students-were.html | http://bitsofpy.blogspot.nl/2010/04/in-my-cosc-lab-today-few-students-were.html | ||
facebook page query | facebook page query | ||
[ | [ | ||
>>> import json | >>> import json | ||
Line 28: | Line 29: | ||
{u'username': u'max.dovey', u'first_name': u'Max', u'last_name': u'Dovey', u'name': u'Max Dovey', u'locale': u'en_US', u'gender': u'male', u'link': u'http://www.facebook.com/max.dovey', u'id': u'548951431'} | {u'username': u'max.dovey', u'first_name': u'Max', u'last_name': u'Dovey', u'name': u'Max Dovey', u'locale': u'en_US', u'gender': u'male', u'link': u'http://www.facebook.com/max.dovey', u'id': u'548951431'} | ||
] | ] | ||
stuff to do - | |||
stuff to do & Resources - | |||
start fetching data from the twitter api https://code.google.com/p/python-twitter/ | start fetching data from the twitter api https://code.google.com/p/python-twitter/ | ||
http://pzwart3.wdka.hro.nl/wiki/PythonTwitter | |||
http://www.lynda.com/Python-tutorials/Up-Running-Python/122467-2.html |
Revision as of 21:46, 17 September 2013
Week 1
Alan Turing's Universal Turing Machine (UTM) http://en.wikipedia.org/wiki/Universal_machine
was a concept for an infinite loop of tape that seperated into frames, each frame would present a different state. This created an infinite programming potential for reading.
deconstructing the seamlessness of the factory line. The pipeline.
in the afternoon we played with Turtle.
http://opentechschool.github.io/python-data-intro/core/recap.html
https://github.com/OpenTechSchool/python/wiki/Facebook-Client
http://bitsofpy.blogspot.nl/2010/04/in-my-cosc-lab-today-few-students-were.html
facebook page query
[ >>> import json >>> import urllib2 >>> def load_facebook_page(facebook_id): ... addy = 'https://graph.facebook.com/548951431' ... return json.load(urllib2.urlopen(addy))
load_facebook_page(548951431) {u'username': u'max.dovey', u'first_name': u'Max', u'last_name': u'Dovey', u'name': u'Max Dovey', u'locale': u'en_US', u'gender': u'male', u'link': u'http://www.facebook.com/max.dovey', u'id': u'548951431'} ]
stuff to do & Resources -
start fetching data from the twitter api https://code.google.com/p/python-twitter/
http://pzwart3.wdka.hro.nl/wiki/PythonTwitter
http://www.lynda.com/Python-tutorials/Up-Running-Python/122467-2.html