GUMC Programming

Prepping for programming

It will be helpful for the upcoming programming session at youth group if people are able to do software installation on their computers in advance. Here are instructions:

First, you'll need to download Python (the language we're using, and the software that makes it run) and Notepad++ (the editor we're using). Both are free, and I've stuck them on the church's Dropbox account to make sure everybody is getting the right files.

The first thing is that you'll need to know whether you have a 32-bit or 64-bit version of Windows. To find out, do the following:

1.       Press the Windows key on your keyboard to open the Start menu

2.       RIGHT click on "My Computer" or "Computer" (whichever one your version of Windows calls it)

3.       Click on "Properties"

4.       This screen should say somewhere (it will vary by version of Windows) that you have either a 32-bit Operating System or a 64-bit Operating System.

5.       If you can't find it, assume 32-bit


OK, now go to the church's Dropbox page: https://www.dropbox.com/sh/siytaa5t2qutrez/XRfrNd--cx

You'll see 3 files: notepadpp.exe, python27-win32.msi, and python27-win64.msi. Download the notepadpp file and one of the two python files: win32 for 32-bit, win64 for 64-bit (again, if you're not sure, go with win32). Once both files are downloaded, run and install them. Use the default settings for both installs. Make a note of what directory Python installs to (it should be C:\Python27 )

Once everything is installed, you'll want to run Notepad++. It'll be in your Start menu if it's not already open, and it will probably want you to update the spell check plugin (this is fine).

In Notepad++, go to "Plugins" on the top menu bar, then "Plugin Manager", then "Show Plugin Manager". Go to the "Available" tab of this screen and scroll down until you find the line called "NppExec". Check the box on the left side of that line and hit "Install".


When this is done, Notepad++ should prompt you to restart the program; do so.

When Notepad++ reopens, press F6. You'll see the following window (except it won't have text in the box):


Enter the pictured line exactly (or copy and paste it from here).

c:\python27\python -u "$(FULL_CURRENT_PATH)"

If your copy of Python installed to another directory, replace "c:\python27" with wherever it was installed.

Once entered, hit "Save…" and give it the name "Python"

OK, that should be everything! To test it, in Notepad++, create a new file. In that file, write:

print "Hello, world"

Now save it (doesn't matter what you call it or where you save it). Now press F6, which will bring the Execute box back up (it should still have the python command above) and press OK. A second window should appear in the bottom half of Notepad++ that looks like this:


If it did, congrats! You just wrote and ran your first Python program.