Lab Exercise 1

An Introduction to Python Tools


CS 1510
Introduction to Computing


Introduction

Our laboratory sessions are held in 112 Wright. For outside programming assignments, you may also use the computers in 339 Wright and 335 ITTC. These are the only computer labs on campus with the software development tools used in this course. The computers in these labs run both the Windows 7 and Linux operating systems. We will be using Windows 7 in this class.

To login in all these computers, you will use your CatID, the username and passphrase assigned to you by Information Technology Services (ITS).



Log On

Locate a free computer, if you are not already at one.

  1. If the machine is booted Linux, reboot the machine into Windows.
  2. Press Alt-Ctrl-Del at the same time.
  3. You will see instructions about how to log on using your CatID. If you are uncertain about this process than you should read this page before pressing the "Ok" button.
  4. Log on using your CatID.
  5. Wait until the system logs you in. This process may take a few minutes the first time you log on in the lab.



Access the Rest of the Exercise

Now that you are logged on...

  1. Launch the web browser of your choice. We recommend Firefox, but Chrome or Internet Explorer should work fine.
  2. Navigate to the course website:
    http://www.cs.uni.edu/~wallingf/teaching/cs1510/
  3. Click on the Course Materials link at the left.
  4. Click on the link for the Week 1 lab.

You will find the rest of today's instructions there.



Create a Directory for This Class

In order to keep your files for this course together, I strongly encourage that you get into the habit of saving your work on an external USB drive.



Explore Some Class Details

Let's take a quick look at the syllabus...



Use the Python Shell

Our first major tool is the Python shell. It is part of an integrated development environment (IDE) called IDLE.

From now on, when I say

Enter the following expressions.
this means
Enter the following expressions one at a time, each followed by return. Think carefully about what you see.



Grow a Program in the Python Shell

Now let's use the Python shell to grow a program.



Edit a Program in IDLE

Our second major tool is the IDLE editor.

Congratulations! You have run your first Python program.



Finishing Up

Make sure that your responses file and program file are complete and saved. Now, let's submit your files for grading:

If you need any help, let me know.

Congratulations! You have completed your first computer science lab.



Eugene Wallingford ..... wallingf@cs.uni.edu ..... August 27, 2014