Your computer is the thing you are reading and typing on :) You should know a few things about it before we go much further.
Starting development work requires at least a passing familiarity with what is happening inside your machine, what software is installed, and where to look next for help!
Control Panel > System
Know your OS and version number? Good!
A command line interface (CLI) is way of interacting with a computer by typing commands.
Many development tools don’t have graphic user interfaces–they only have command line interfaces. Windows comes with a command line interface called a command prompt. Unfortunately, it does not support all of the tools we want to use.
Note
If you are not an administrator on your machine, you might have to choose an alternate path for install rather than C:\Git, such as C:\Documents and Settings\yourname\Git\.
You will also want to make the MSYS/MINGW bash window behave in a saner way. After opening it, ‘right-click’ on the title bar, and select ‘properties’. Under ‘Edit Options’, enable ‘Quick Edit Mode’.
gedit is a cross-platform, syntax-highlighting text editor.
To write your code in! Word is a fine program, but it is not a text editor.
Python is a general purpose, dynamically-typed, strongly-typed, interpreted computer programming language.
Well, this is a Python progammming workshop!
Test your Python install by typing \Python27\python.exe and hitting enter. You should see something like:
Python 2.7.1 (r271:86832, ...) on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
To exit the Python prompt, type exit() and press Enter. This will take you back to the Windows command prompt.
We also would like to make sure our python is available from the msys/mgit/mingw cli. After starting up msys/mgit:
$ echo '#!/bin/sh' > /bin/python
$ echo 'C:/Python27/python.exe $*' >> /bin/python
$ echo 'export PATH=$PATH:/c/Python27/Scripts' > ~/.profile
$ source ~/.profile
From here on, if you are in the msys/mgit/mingw cli, you can type python to get a python prompt, should you need one!
After install, show your guide that use can start up python. You should see something like:
Python 2.7.1 (r271:86832, ...) on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Type exit() to return to your terminal/shell. Don’t worry if your version is different than the one shown here. Any 2.x series python 2.5 or higher (i.e., 2.5, 2.6, 2.7) should be fine!