IT 117: Intermediate to Scripting
Class 25 Exercise
Script for this exercise
- Open IDLE on you machine
GUI programs will not run on pe15.
Instead you must do this work on your machine using your copy of IDLE.
- Enter the following text into the script file
- Run this script
- You should see
- Copy this script to your ex25 directory using FileZilla
You will find instructions on using FileZilla here
here
Copy the file to Unix
- Open FileZilla and connect to
pe15.cs.umb.edu
You will have to connect using your Unix username and password.
- Go to your 117 directory
- Go to your ex directory
- Inside this directory create the directory ex25
Right-click in the whitespace inside the
ex directory.
Click and drag down to Create directory.
Add ex25 to the path in the dialog box.
Click OK.
- Copy your ex25.py
Click and drag the script from your machine to the
ex25 directory.
- Make your script executable
Right-click on the file and select "Permissions" from the menu.
Enter 755 in the box provided.
Click OK.
This will make the script executable.