Difference between revisions of "Workshops/Python for Beginners"

From London Hackspace Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
=Things you will Need=
 
=Things you will Need=
  
 +
We'll be working in Python3, so to begin with, you'll need a copy of that. If you are using Windows, Linux or MacOSX you can get a copy from
 +
 +
[http://www.python.org/download/releases/3.3.2/ http://www.python.org/download/releases/3.3.2/]
 +
 +
3.3.2 is a good version to use. Grab the one you need.
 +
 +
Alternatively, if you are a l33t haxor you can use something like
 +
 +
  apt-get install python3
 +
 +
or python3.2 or whichever your version of Ubuntu is.
 +
 +
If you like to use [http://mxcl.github.io/homebrew/ Mac Homebrew] you can use something like
 +
 +
  brew install python32
  
''' THIS IS BEING UPDATED FOR PYTHON 3! WATCH THIS SPACE '''
 
  
 
==Setting up Your System==
 
==Setting up Your System==

Revision as of 18:50, 25 June 2013

Information for our introductory workshops on Python

Important things

  • Date & time - 28th of July, 2013 10am sharp till 5pm
  • Bring a laptop with the required software
  • We recommend a donation of £20 for the session if you are a non-member
  • Please sign up at the bottom of the page

Things you will Need

We'll be working in Python3, so to begin with, you'll need a copy of that. If you are using Windows, Linux or MacOSX you can get a copy from

http://www.python.org/download/releases/3.3.2/

3.3.2 is a good version to use. Grab the one you need.

Alternatively, if you are a l33t haxor you can use something like

 apt-get install python3

or python3.2 or whichever your version of Ubuntu is.

If you like to use Mac Homebrew you can use something like

 brew install python32 


Setting up Your System

Windows

Notepad ++ is pretty much the best text editor on Windows

OSX

Python comes installed as standard but there are a few versions. You'll need to use the python2.5 command in your terminal and make sure you install pyglet for the 2.5 python install. You can grab the OSX DMG from the Pyglet page and install it. It should work straight out of the box.

Under OSX, I find textwrangler to be the best.

Linux

Resources for the Day

There are a great many resources for Python on the web. Here are a few of the ones I like:

Learning Python in General

Pyglet Related

Sign up

Please add you name to the list below:

For who?

Anyone!

If you can't program, still come along. The pace will be fast but if you want to start programming for the first time, Python is a great language to learn.

How much?

There is no charge HOWEVER the space survives on donations and member subscriptions. We recommend a voluntary donation of £20 for the day.