Lab 1: Programming Environment

Part 1: Python and PyCharm Installation

In this first part of the lab, the goal is to get Python and an IDE (PyCharm) installed on your computer. We suggest that you work in pairs with someone who has a laptop with the same operating system (Windows or Mac or Linux) as you do.

Installation instructions for Python and PyCharm are provided in Lecture 2. Please follow the instructions carefully and exactly as deviating from them can cause unexpected errors.

Confirm that your Python and Python install works with the following steps:

1. Type and execute the following lines from the Python interactive shell:

  applicant = input("Enter the applicant's name: ")
  interviewer = input("Enter the interviewer's name: ")
  time = input("Enter the appointment time: ")
  print(interviewer, "will interview", applicant, "at", time)

2. Create a Python file named interview.py using PyCharm. Add the above lines into the file. Save and run the program using PyCharm.

Part 2:

Please read the submission instructions below before starting this section. In this second part of the lab, you will do the following:

 

 

Submission:

1. Upload the interview.py program to Blackboard.

2. Create a file named outputs.txt using Notepad on Windows, or outputs.rtf using TextEdit on the Mac. As you run each command in part 2, copy and paste the command and its output into the text file. Upload this file on Blackboard after you run all the commands.

Evaluation Rubric:

interview.py: 2 points

outputs document: 3 points