Download here:
http://python.org/ftp/python/2.7.6/python-2.7.6.msi
Accept all the default options.
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from __future__ import division | |
import sympy | |
import matplotlib | |
import matplotlib.pyplot as pyplot | |
S = sympy.sympify |
class Test(object): | |
def __getattr__(self, attr): | |
print("hi!") | |
print(attr) | |
return self.default_func | |
def __setattr__(self, attr, value): | |
print("bye!") | |
print(attr) | |
print(value) |
#!/usr/bin/env python | |
''' | |
Contains code to generate the graphs and data used in this IA | |
''' | |
from __future__ import division | |
import cmath | |
import utilities |
{ | |
"metadata": { | |
"name": "study-guide" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
has_paper = False | |
has_doll = False | |
def drums(): | |
print "The drums are drummable" | |
def paper(): | |
if has_paper == True: | |
print "You already have the paper" |
{ | |
"metadata": { | |
"name": "lesson-4" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
#include "WPILib.h" | |
class RobotDemo : public SimpleRobot | |
{ | |
private: | |
RobotDrive myRobot; | |
Joystick stick; | |
public: | |
RobotDemo(void): |
import SimpleCV as scv | |
import pygame | |
import sys | |
BLACK = (0, 0, 0) | |
RED = (255, 0, 0) | |
SCALE = 0.25 | |
cam = scv.Camera() |
Download here:
http://python.org/ftp/python/2.7.6/python-2.7.6.msi
Accept all the default options.