Monday 11 April 2016

Tuesday, April 12 - PYTHON! Programming Unit Begins!

Welcome to our quick unit on Python Programming!

We use Python 2.7 at school.  You can use Python 2.6 or 2.7, any kind of Python as long as it is NOT Python 3.0!!!  Do a Google search for Python and you can go download this at home.

Python is on all the computers in the lab.  Just go to the Start menu and then click on the program indicated below:

This will open up a window that looks like this:

This is the OUTPUT screen, NOT the programming screen.  DO NOT program in Shell!

You must go to File --> New and you will get a new programming screen that looks like this:


THIS is the programming screen!
This is where you will type your program.
It is called "Untitled" right now because you haven't saved it and given it a name.

**when you save your program, make sure you type .py after the name.
For instance:   1stProgram.py
If you forget the .py, you will lose the Python color formatting!

Also do not use spaces or special characters (!@#$%^&*() in your program title.

As a shortcut, press F5 to verify and run your program!

------------------------------

Until I move everything to a new server, we're going to use the old Python website here:
tiny.cc/python12

Today, do Unit 1, Lesson 1, 2 and 3.
I will review this on Wednesday when I return.

No comments:

Post a Comment