Skip to content

Latest commit

 

History

History
executable file
·
56 lines (33 loc) · 2.33 KB

README.md

File metadata and controls

executable file
·
56 lines (33 loc) · 2.33 KB

Introduction to Python

Python is an amazing language - It's extremely portable (runs on Linux, Windows, Mac OSX, Android OS and so many more Operating Systems!)

It's easy to learn, and it's extremely simple to start and program. It allows you to do fun things without stressing over the syntax!

It's useful for many different things: from building a website to creating graphical applications to creating art!

Questions at any point -

http://techatnyu.org/chat

Philosophy

The developers behind Python have a few core aims:

- Aim for a simple implementation
- "We read Knuth so you don't have to"
- Conservative growth

If you write "import this" into your Python program, you'll see what I mean. You'll get all of this soon! :)

Python Libraries

You walk into a library, and this library is made of millions of books. For every few books there is something called a section. Each section gives you access to particular knowledge where you can solve one particular problem using the books that are in here.

This plays the same way in Python. In the world of Python there are millions of libraries (a.k.a our physical libraries), and each library has sections (or the functions that are in that library), and each function performs a certain task or solves a issue you're having (or gives you access to new knowledge). It works the same way.

Library -> Sections -> Each section has many functions -> Each function solves a problem.

Example:

Library called math -> The library has a section called "Powers and Logarithmic Functions" -> In that section is a function called "exp" -> The function takes a number, and evaluates it: e^x and gives it back to you.

This would be like going into the math section of a physical library, finding the "Powers and Logarithmic" book, and finding the equation that solves the exponent problem: especially the e^x problem.

How should I learn?

Basics:

- Codecademy: http://www.codecademy.com/tracks/python (don't spend too long on this!)
- Learn Python the Hard Way - http://learnpythonthehardway.org/
- Slideshare: http://www.slideshare.net/pydanny/intro-to-python-11186202

Visual Learner:

- Great Video tutorial by The New Boston: http://thenewboston.org/list.php?cat=36

Online Class:

- Interactive Python on Coursera: https://www.coursera.org/course/interactivepython