Presentation

Download Report

Transcript Presentation

By Alfredo Alvarez
Agenda:
• Find out who the instructor is.
• Talk about goals and why you want to learn python.
• Discuss the materials and the methodology for the
class.
• Set up your equipment to start doing the online
courses.
• Get Started using the python interpreter




5 years at Microsoft SDE(4 years), SDET
Lead(1.5 years)
2 years before that at Medical Startup
Uses Python to make games.
Currently Works at www.georiot.com



Name
What are you currently doing?
Why are you interested in learning to code?

To guide python students while they use the
most recent web courses to do their major
studies of the python language.



10 Weekly meetings to discuss(1.5 hour
sessions) to design goals, projects, talk about
exercises and work.
7 days a week support via email.
First class is free – other 9 are 25$ dollars
each.

Online

Free Books
◦ I recommend the CodeCademy
course(http://www.codecademy.com/tracks/python)
◦ Udacity
http://www.udacity.com/overview/Course/cs101/CourseRev/apr2
012
◦ Intro to python programming book
 http://getpython3.com/diveintopython3/
◦ Thinking like a computer scientist
 http://openbookproject.net/thinkcs/python/english2e/
◦ Data Structure and algorithms book
 http://www.brpreiss.com/books/opus7/html/book.html
◦ Web
http://www.djangobook.com/en/2.0/index.html
◦ Learning python the hardway
◦ http://learnpythonthehardway.org/



The expectation is that the student starts the
Codecademy course after the first meeting
and brings doubts to the class.
We use the class to reinforce concepts
We also try to outline a small project to finish
by the time the 10 weeks are done.

Download version 3.3.3 and make sure it
install the IDE idle.
◦ http://www.python.org/download/

To validate the version of python run this on
the python shell.
◦ import sys
print sys.version
|| for 3.3.3 should read
print(sys.version)

First program ever run in any language in
python it goes like this:
◦ Print(“Hello World”);
All programs in python start in the following
way:
if __name__ == "__main__":
#code goes here
#this is how you write comments.





To take input from the console we use the
input command:
#text is your first variable declaration
text = input()
print(text)
Lets make it look like a real program:
print(“Enter your name?”);
name = input();
#this is call concatenation makes pieces of text
be one line
Print(“Hello” + name);


Read From Dive into python:
◦ Section 1.8
◦ Section 2.1

From Codecademy
◦ http://www.codecademy.com/tracks/python?jump_
to=4fcba68767e7c1000304119b
◦ First 3 sections from python syntax module
 Welcome to the flying circus
 Variables
 Data Types

For Questions
◦ [email protected]