Jump to content

Introduction to and setup of Python: Difference between revisions

From IdeaWazaWiki
wikademia>Remi0o
mNo edit summary
wikademia>DavidCary
Further reading: online Python teaching resources
Line 1: Line 1:
= [[Python Programming]] =
This book will be helpfull until I finish this class. [[b:Python|Python]]
This book will be helpfull until I finish this class. [[b:Python|Python]]


Line 38: Line 40:


If anyone has questions please first goto Python.org but if that does not resolve your problem feel free to e-mail me DDRArrowStomper@hotmail.com
If anyone has questions please first goto Python.org but if that does not resolve your problem feel free to e-mail me DDRArrowStomper@hotmail.com
''next: [[Basic Python Data Types]]''
== Further reading ==
* [[Wikibooks:Python Programming]]
* [http://www.python.org/workshops/2000-01/proceedings/papers/elkner/pyYHS.html Using Python in a High School Computer Science Program] by Jeffrey Elkner
* [http://www.ibiblio.org/obp/thinkCSpy/ How to Think Like a Computer Scientist: Learning with Python] by Allen B. Downey, Jeffrey Elkner and Chris Meyers
* [http://diveintopython.org/ Dive Into Python] by Mark Pilgrim
* [http://www.python.org/doc/Intros.html "Introductory Material on Python"]
* [http://mindview.net/Books/TIPython Thinking in Python] by Bruce Eckel: "This is not an introductory Python book."
* [http://directory.google.com/Top/Computers/Programming/Languages/Python/FAQs,_Help,_and_Tutorials/ Python Tutorials]


[[Category:Python]]
[[Category:Python]]
[[Category:Programming]]
[[Category:Programming]]
[[Category:Introductions]]
[[Category:Introductions]]

Revision as of 04:33, 29 April 2007

This book will be helpfull until I finish this class. Python


Why learn Python?

Python is a great language to start programming with for several reasons

  1. It's free
  2. It's fun to learn
  3. It is used by many companies, and even companies that don't write in Python want programmers that know Python because that shows that the programmers are there because they like programming, not for the income programming can provide.

Go to Python.org to find out more about what you can get for free. It is a lot. It also has links to books that you can pay for, But I'm hoping that I can provide enough information that you won't need to buy a book.

Python teaches using fun things like how to make an omelet instead of how to combine 'foo' and 'bar'. If you've ever learned another language you know what I am talking about.

Peter Norvig, Google says this about Python "Python has been an important part of Google since the beginning, and has remained so as the system grows and evolves." NASA also uses Python and so do a growing number of other businesses.

How to get the correct IDLE for you

Downloading Python

Before you start, you need Python on your computer, but you may not need to download it. First of all check (by entering python in a command line window) that you don't already have Python installed! If you see a response from a Python interpreter it will include a version number in its inital display. Generally any recent version will do, as Python makes every attempt to maintain backwards compatibility.

If you need to install, you may as well download the most recent stable version. This is the one with the highest number that isn't marked as an alpha or beta release. Currently the stable version is Python 2.5.

If you're running Windows: the most stable Windows download is Python 2.5 for Windows.

If you're running Windows XP: a complete guide to installing ActivePython is at http://www.richarddooling.com/index.php/category/geekophilia/ just ctrl f and type python, it'll take you right there.

If you are using a Mac, see http://www.python.org/download/mac/. MacOS 10.2 (Jaguar), 10.3 (Panther) and 10.4 (Tiger) come with Python already, but you will probably want to install the

For Red Hat, install the python2 and python2-devel packages.

For Debian, install the python2.5 and python2.5-dev packages.

For Ubuntu, goto synaptic package manager -> Python programs -> install whichever one that you want, or all of them if you have the space on your harddrive. http://wiki.python.org/moin/BeginnersGuide/Download

Starting IDLE

In Linux open your terminal and type codeEditor, windows should have it in your start menu.

If anyone has questions please first goto Python.org but if that does not resolve your problem feel free to e-mail me DDRArrowStomper@hotmail.com


next: Basic Python Data Types

Further reading