Writing and Running Programs

Size: px
Start display at page:

Download "Writing and Running Programs"

Transcription

1 Introduction to Python Writing and Running Programs Working with Lab Files These instructions take you through the steps of writing and running your first program, as well as using the lab files in our PyCharm projects each week. Each week we will work with a different folder, containing files needed for in-class exercises and homework for that week. As previously, we presume that you will be using the PyCharm IDE. You can use another Editor/IDE -- but you must be very familiar with it, or you may encounter confusion in learning its special rules and quirks. Writing and Running Programs 1. Start a new PyCharm project. A PyCharm project is contained within a folder. When we create a new project, PyCharm will show us the full path to where this folder will be created (for now, do not choose an existing folder). The name we give our project will also be the name of the folder (our first project will be called session_01). Make sure not to put a.py at the end of your project name. Also: spaces in names are a no-no! a. If it is not already running, launch PyCharm. You should see a small box titled "Welcome to PyCharm Community Edition". If instead you see a large screen with multiple panels, you are looking at an open project. Close this project with File > Close Project. b. Click on Create a New Project (we will start with a project called session_01). PyCharm displays a Location blank and a Project Interpreter dropdown (with a valid interpreter usually selected -- see below). i. Look at the path to the folder that PyCharm intends to create. PyCharm suggests a location in a special folder called PyCharmProjects in your home directory. (This folder will read as /Users/username/PyCharmProjects/untitled (on Mac) or C:\Users\username\PyCharmProjects\untitled (on Windows). You can use this location, or if you prefer choose a different one, click the ellipsis ( ) to the right of the Location blank and select a folder location. You can also type out another full path. PyCharm will keep track of this location, but you may want to note it down for future reference. ii. After deciding on the default, or after selecting a new location, name your project session_01: change the value after the last slash from untitled to session_01. A session_01/ folder will be created there. Please do not put a.py at the end of your project name -- this is reserved for Python files, not folders or projects. Also, never use a space in any filename or directory name you create -- it can cause problems for developers at the command line. iii. If you see the warning "Environment location directory is not empty" (or similar), this means that you didn't specify a new folder name. To open an existing folder, hit

2 Cancel and choose Open or select the folder from the shortcut list on the left of the welcome window. If you wish to overwrite an existing project, you'll need to find the folder at its location in the filesystem and delete it from there. Open the project, right-click the folder, choose "Show in Finder" or "Show in Explorer" and a Finder or Explorer window will open showing the folder. Leave this window open and go back to PyCharm, close the project with File > Close, then return to the Finder or Explorer window and delete the folder. You can then open a new project by this name. Note on Project Interpreter: New Virtualenv Environment: this dropdown shows the version of Python we'll be using ("Base interpreter") as well as the location of the venv configuration folder. This is handled automatically by PyCharm. If PyCharm cannot find your version of Python or if it is using an invalid path, you may see an error here. You should of course confirm that you have Python installed on your system. You can then use the "elipsis" ( ) button to attempt to navigate to your version of Python. It may be located at /usr/bin/python3 or /usr/bin/python3.7 (Mac) or C:\Users\myuser\AppData\Local\Programs\Python\Python37-32\python.exe or similar (Windows). It may be located elsewhere. See me for assistance. c. Click Create. PyCharm should open a larger window with a rectangular panel on the left. It may take several seconds to prepare the environment. If this is your first project, PyCharm may also go through some initialization steps that take a few minutes -- this delay should not be repeated. d. The left-side window is the project view -- there you can see the project folder (with the same name as the name you gave the project). You can use the triangle next to the project folder to view files inside the folder. If this is a new project, the project folder (with the name you gave the project) will contain a venv folder and nothing else. External Libraries lists any installed Python libraries you may be using in the project; this and Scratches and Consoles are not meaningful to us for this step. e. You can open and close the project view with Cmd-1 or Alt Write a new Python program. Program source code is written in "plain" (unformatted) text. We will write this text file inside PyCharm, then ask Python to read and run the program. a. In the project view, right-click the project folder (the folder with the name you gave the project) and select New > Python File (not New > File) b. Name your file hello.py (or whatever name you prefer, ending in a.py extension). c. Click OK -- the file appears under the project folder in the project view (click the tiny triangle to see it), and also appears as a tab in the main window. The file should be inside the project folder, but double check the location of your new file - - it should be indented under the project folder directly underneath the venv folder (it should not be indented further to the right (and thus inside) the venv folder). If the file is

3 inside venv, you can cut it (Ctrl-C/Cmd-C), click on the project folder and then paste it (Ctrl-V/Cmd-V); or you can delete it, click on the project folder, and choose File > New again. d. Create your first "hello, world!" app by entering the following Python code: print('hello, world!') e. You can save your script with Cmd-S (Mac) or Ctrl-S (Windows) -- a good habit for any file you're writing -- although it appears that you do not need to do so, because PyCharm saves projects (and the files within) automatically. f. If you see a message at the top of your program reading "No Python interpreter configured for the project", this means that PyCharm can't find Python. i. click the link ii. click the Python Interpreter dropdown. You should see a list of paths to python; make sure to ignore the paths with venv in them iii. find a path to python or python.exe and select it iv. if you don't see a valid python path, click Show All and see if it can be found in that list v. if still not found, you can then use the "elipsis" ( ) button to attempt to navigate to your version of Python. It may be located at /usr/bin/python3 or /usr/bin/python3.7 (Mac) or C:\Users\myuser\AppData\Local\Programs\Python\Python37-32\python.exe or similar (Windows). It may be located elsewhere. See me for assistance vi. if you found a valid path to python, select it, then click Apply and OK vii. please note that the "No Python interpreter" message may linger for a few minutes after a valid interpreter is selected and applied 3. Run the Python program. I recommend that you run your programs in a Terminal / Command Prompt window in PyCharm (rather than the Run window). In the Terminal window you are asking the operating system to run your code directly; with Run, PyCharm acts as an intermediary. As mentioned above, if you use the Run command to run your programs, you will need to do something differently when we start working with command line arguments in Session 3. I recommend using Terminal as described below. a. To open the Terminal window, you can hit Cmd-T or Alt-T -- a horizontal rectangular panel appears at the bottom, with a Command Prompt for your operating system (note that it is the same prompt we used to test the python version with python -V). You can also open this window by clicking on Terminal at the bottom of the PyCharm window. b. Drag the top of the rectangular panel upward so it is larger. As you work, you will be switching back and forth between the edit window and the Terminal window. I prefer a large Terminal window, and I pop back and forth between windows. We will demonstrate this in class.

4 c. At the Terminal prompt in the lower window, type one of the following, depending on how you invoked Python in the steps above: python hello.py python3 hello.py py hello.py Here we are starting Python, and giving Python the name of the script to read and execute. After hitting [Enter] you should see the output of the program, which is the printed greeting. If you see python is not an internal or external command or python: file not found or a simiar message, but you were able to see the version of Python in the Getting Started instructions, go back and recall how you successfully launched Python previously. Remember that if you used python3 for your initial test of python, you'll be using python3 hello.py. This is important because the 2.7 version of python is similar but not the same as the 3.7 (or 3.x number) version and It can be difficult to see the difference. If you see can't open file 'myfile' where myfile is the new file you created, your Terminal may be focused in the wrong directory -- use the red X on the left side of the Terminal window to close the Terminal window, then click the Terminal tab to reopen it. d. To generate clear output with each new run of the program (sometimes vital to smooth progress and understanding) issue a 'clear' command before the python command: i. Mac OS: clear; python hello.py ii. Windows: cls & python hello.py This merely clears the screen before showing the script output. You should see the output of the script clearly displayed by itself at the top of the page. Keep in mind that if you scroll up on this window you'll see output from prior runs of the program. 4. Double-check the Python version. Some students get this far without realizing that they are using Python 2.7 (or other 2.x number) instead of the 3.6 (or other 3.x number) version. Rewrite your code so it looks like this: import sys print('hello,' + sys.version) You should see hello, (v3.7.0:5fd3. or another number after 'hello, ' that starts with 3. If you are seeing a number that starts with 2 instead, you either need to remember to use python3 when you are running the program in the Terminal or Command Prompt window, or we need to adjust your computer's PATH variable to point to python 3 -- please get in touch with me if you think you are using version 2.

5 5. Edit, switch, re-run, switch, edit Here's a helpful tip: it can be very helpful to develop a keyboard-based workflow that will allow you to run through the development cycle repeatedly, without having to hit one more key than necessary. a. Click in the edit window and make an edit to your script (change world! to weird!) b. Use Cmd-T (Mac) or Alt-T (Windows) to open the Terminal window c. Command History: move this file in a location where you can retrieve it later in case you want to restore PyCharm settings defaults. Hit the Up Arrow to bring up your last command, then hit Enter. The program will run again and you'll see your program output. This can be a tremendously helpful way to avoid excess typing. d. Use Cmd-T (Mac) or Alt-T (Windows) to close the Terminal window. Window focus should return to the edit window. e. Make an edit to your script (change weird! to python!!!) f. Use Cmd-T or Alt-T to open the Terminal window g. Hit the Up Arrow to bring up your last command, then hit Enter. View the changed result. h. Use Cmd-T or Alt-T to close the Terminal window. Window focus should return to the edit window. i. Lather, rinse, repeat! Using Each Week's Lab Files 1. Load this week's lab files into your project. Each week I will provide a.zip file with a folder containing files needed for in-class work, for homework, and for homework testing. Usually, this file will be provided a full week ahead of class. Before class, or at the start of class, please create a working project for the week, unzip the week's zip file and copy these files to the week's project folder. a. Visit the source data link on the class website: b. Click on the.zip for the current week (start with session_01_objects_types.zip). The file should download. c. Find the file and double-click it. i. On the Mac, a new folder will appear next to the zip file. Double-click this folder to reveal the files.

6 ii. On the PC, the zip file will open as if it were a Windows Explorer winodow, showing all of the files. However, this is not an open folder. 1) Click on Extract all near the top of the window. A dialog showing the full path to the new folder will appear. 2) Click Extract. A new window with a folder with the same name will appear (you may also see a MACOSX folder; you may disregard). 3) Double-click the session folder to reveal the files. Keep this window open. d. Launch or return to PyCharm. We will be moving the session files to the project for that session. e. If a different project is open, close the project with File > Close. Create a new project with the session name (session_01, etc.) or reopen one you have already created. f. In the Finder or Explorer window where you see the session files, select all of the files and copy them: hit Ctrl-C or right click and select Copy. g. In PyCharm, click the session folder and hit Ctrl-V, or right click and select Paste. PyCharm will ask whether you would like to copy the files to the project; click Yes. h. Once copied, you should see all the files from the.zip file in your project. You now have what you need to follow along in class as well as do exercises and homework. i. Please make sure that you have pasted the files, not the folder of files, into your project folder. You should see each file indented under the session folder, at the same level as the venv folder. 2. Run one of the project files. a. In PyCharm, open the Terminal window using Cmd/Alt-T, or by clicking the Terminal tab at the bottom of the PyCharm window. b. At the prompt, type one of the following, depending on how you invoked Python in the past: python 00_hello.py python3 00_hello.py py 00_hello.py

7 3. Use [Tab] completion to save typing and reduce errors. You don't need to type out the full name of the file you want to run -- you can just type the start of the filename, then hit [Tab] to complete. a. At the Terminal prompt, type python, python3 or py depending on how you invoked Python in the past. b. Start to type the name of the file you want to run, for example 00 c. Instead of typing out the whole filename, hit [Tab]. If your Terminal window is in the same directory as the file, and if what you type is unique to any filenames in this directory, you should see the rest of the filename completed for you. Hit [Enter] to execute the command. 4. Use "up arrow" to save typing when re-running a program. The next time you want to run the same command as previous (i.e., when re-running a Python program after changing it), instead of typing anything, hit "up arrow" on your keyboard. You will see the same command repeated. Hit [Enter] to execute the command. 5. Take the lab files home if desired. During class, we will make changes to the lab scripts. You can of course take notes or do your own experiments using these scripts, and you can create new ones. Since they cover the features we'll need for the homework, they will hopefully be helpful to you when you are doing the assignments. a. At the end of class you may zip up the project folder and it to yourself, or save it on the lab's shared drive. i. To zip up the project folder to send by , find the lab folder on your Desktop or elsewhere, right click the folder and select Compress (Mac) or Send to > Compressed (zip) folder (Windows). A new.zip file should be created (you may need to rename it or save it in a different location in order avoid conflict with the original.zip file. Or, you can always delete or overwrite the original. ii. Some clients will refuse to send a file with a.zip extension. You can get around this by changing the extension (to anything, even.txt). After retrieving the file from , you can change the extension back to.zip before opening it. iii. To reach the lab computer's share drive, look for the link to the share drive on the Desktop. Inside that folder you should see a "Student Folder" or similarly named folder indicating this is for student work. Enter that folder, then (if this is your first time here) create a new folder named after yourself. Although this drive is shared, no one will likely tamper with it or even read it. (However, it will be visible.) If you see any errors, anomalies, or if anything seems confusing in these instructions, please let me know as soon as possible. You'll be helping others if you do (or allowing others to be confused if you don't!). Congratulations!

Getting Started with Python and the PyCharm IDE

Getting Started with Python and the PyCharm IDE New York University School of Continuing and Professional Studies Division of Programs in Information Technology Getting Started with Python and the PyCharm IDE Please note that if you already know how

More information

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup

CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup CSE 101 Introduction to Computers Development / Tutorial / Lab Environment Setup Purpose: The purpose of this lab is to setup software that you will be using throughout the term for learning about Python

More information

CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28) First Name: Last Name: NetID:

CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28)   First Name: Last Name: NetID: CS 1110 SPRING 2016: GETTING STARTED (Jan 27-28) http://www.cs.cornell.edu/courses/cs1110/2016sp/labs/lab01/lab01.pdf First Name: Last Name: NetID: Goals. Learning a computer language is a lot like learning

More information

Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3. Installing Notepad++

Notepad++  The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3. Installing Notepad++ Notepad++ The COMPSCI 101 Text Editor for Windows The text editor that we will be using in the Computer Science labs for creating our Python programs is called Notepad++ and is freely available for the

More information

CS1110 Lab 1 (Jan 27-28, 2015)

CS1110 Lab 1 (Jan 27-28, 2015) CS1110 Lab 1 (Jan 27-28, 2015) First Name: Last Name: NetID: Completing this lab assignment is very important and you must have a CS 1110 course consultant tell CMS that you did the work. (Correctness

More information

My First Cocoa Program

My First Cocoa Program My First Cocoa Program 1. Tutorial Overview In this tutorial, you re going to create a very simple Cocoa application for the Mac. Unlike a line-command program, a Cocoa program uses a graphical window

More information

Getting started with Python

Getting started with Python Getting started with Python (i.e. installing and testing it) 2018 From original slides by Tony Cahill What is Python? Python is a free computer language that was created in 1991 It has many add-ons (called

More information

Using Microsoft Word. Paragraph Formatting. Displaying Hidden Characters

Using Microsoft Word. Paragraph Formatting. Displaying Hidden Characters Using Microsoft Word Paragraph Formatting Every time you press the full-stop key in a document, you are telling Word that you are finishing one sentence and starting a new one. Similarly, if you press

More information

1. Download the following two files from the File Management Lab page on the course WebCT site and save them on the desktop:

1. Download the following two files from the File Management Lab page on the course WebCT site and save them on the desktop: EDIT202 File Management Lab Assignment Guidelines 1. Download the following two files from the File Management Lab page on the course WebCT site and save them on the desktop: Word-Template.doc Starter-Files.zip

More information

Com S 227 Assignment Submission HOWTO

Com S 227 Assignment Submission HOWTO Com S 227 Assignment Submission HOWTO This document provides detailed instructions on: 1. How to submit an assignment via Canvas and check it 3. How to examine the contents of a zip file 3. How to create

More information

My First iphone App. 1. Tutorial Overview

My First iphone App. 1. Tutorial Overview My First iphone App 1. Tutorial Overview In this tutorial, you re going to create a very simple application on the iphone or ipod Touch. It has a text field, a label, and a button. You can type your name

More information

Setting up PyCharm Professional

Setting up PyCharm Professional Page 1 Setting up PyCharm Professional You should have already done the following, per a previous document: 1. Install PyCharm Professional 2. Install Git 3. Create a Github account If you have not already

More information

1) Log on to the computer using your PU net ID and password.

1) Log on to the computer using your PU net ID and password. CS 150 Lab Logging on: 1) Log on to the computer using your PU net ID and password. Connecting to Winter: Winter is the computer science server where all your work will be stored. Remember, after you log

More information

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

2 Getting Started. Getting Started (v1.8.6) 3/5/2007 2 Getting Started Java will be used in the examples in this section; however, the information applies to all supported languages for which you have installed a compiler (e.g., Ada, C, C++, Java) unless

More information

Eclipse Environment Setup

Eclipse Environment Setup Eclipse Environment Setup Adapted from a document from Jeffrey Miller and the CS201 team by Shiyuan Sheng. Introduction This lab document will go over the steps to install and set up Eclipse, which is

More information

General Guidelines: SAS Analyst

General Guidelines: SAS Analyst General Guidelines: SAS Analyst The Analyst application is a data analysis tool in SAS for Windows (version 7 and later) that provides easy access to basic statistical analyses using a point-and-click

More information

Where Did My Files Go? How to find your files using Windows 10

Where Did My Files Go? How to find your files using Windows 10 Where Did My Files Go? How to find your files using Windows 10 Have you just upgraded to Windows 10? Are you finding it difficult to find your files? Are you asking yourself Where did My Computer or My

More information

How to Archive s in Outlook 2007

How to Archive  s in Outlook 2007 How to Archive Emails in Outlook 2007 Step 1: Create an archive folder. 1. Go to File and choose Archive 2. You can have it auto-archive or set the parameters to where it creates an empty archive. Due

More information

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

More information

Code::Blocks Student Manual

Code::Blocks Student Manual Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of

More information

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi Created by Simon Monk Last updated on 2016-12-03 03:20:15 AM UTC Guide Contents Guide Contents Overview You Will Need Downloading

More information

Laboratory Exercise #0

Laboratory Exercise #0 Laboratory Exercise #0 This assignment focuses on the mechanics of installing and using Python. The deadline for Mimir submission is 11:59 PM on Monday, January 8. 1. Complete the steps given below to

More information

Moving to the Mac A GUIDE FOR NEW USERS OF MAC OS X. [Type here]

Moving to the Mac A GUIDE FOR NEW USERS OF MAC OS X. [Type here] [Type here] Moving to the Mac A GUIDE FOR NEW USERS OF MAC OS X This guide is aimed at those who are new to using Mac s. It assumes that you have prior knowledge of using a computer, probably a PC. The

More information

Getting Started (1.8.7) 9/2/2009

Getting Started (1.8.7) 9/2/2009 2 Getting Started For the examples in this section, Microsoft Windows and Java will be used. However, much of the information applies to other operating systems and supported languages for which you have

More information

Touring the Mac. S e s s i o n 3 : U S E A N APPLICATION

Touring the Mac. S e s s i o n 3 : U S E A N APPLICATION Touring the Mac S e s s i o n 3 : U S E A N APPLICATION Touring_the_Mac_Session-3_Jan-25-2011 1 This session covers opening an application and typing a document using the TextEdit application which is

More information

Lesson 4: Who Goes There?

Lesson 4: Who Goes There? Lesson 4: Who Goes There? In this lesson we will write a program that asks for your name and a password, and prints a secret message if you give the right password. While doing this we will learn: 1. What

More information

Assignment 1. Application Development

Assignment 1. Application Development Application Development Assignment 1 Content Application Development Day 1 Lecture The lecture provides an introduction to programming, the concept of classes and objects in Java and the Eclipse development

More information

Cmpt 101 Lab 1 - Outline

Cmpt 101 Lab 1 - Outline Cmpt 101 Lab 1 - Outline Instructions: Work through this outline completely once directed to by your Lab Instructor and fill in the Lab 1 Worksheet as indicated. Contents PART 1: GETTING STARTED... 2 PART

More information

The Basics of Visual Studio Code

The Basics of Visual Studio Code / VS Code 0.9.1 is available. Check out the new features /updates and update /docs/howtoupdate it now. TOPICS The Basics Tweet 16 Like 16 Edit in GitHub https://github.com/microsoft/vscode docs/blob/master/docs/editor/codebasics.md

More information

Click Here to Begin OS X. Welcome to the OS X Basics Learning Module.

Click Here to Begin OS X. Welcome to the OS X Basics Learning Module. OS X Welcome to the OS X Basics Learning Module. This module will teach you the basic operations of the OS X operating system, found on the Apple computers in the College of Technology computer labs. The

More information

Microsoft Expression Web is usually obtained as a program within Microsoft Expression Studio. This tutorial deals specifically with Versions 3 and 4,

Microsoft Expression Web is usually obtained as a program within Microsoft Expression Studio. This tutorial deals specifically with Versions 3 and 4, Microsoft Expression Web is usually obtained as a program within Microsoft Expression Studio. This tutorial deals specifically with Versions 3 and 4, which are very similar in most respects and the important

More information

Summer Assignment for AP Computer Science. Room 302

Summer Assignment for AP Computer Science. Room 302 Fall 2016 Summer Assignment for AP Computer Science email: hughes.daniel@north-haven.k12.ct.us website: nhhscomputerscience.com APCS is your subsite Mr. Hughes Room 302 Prerequisites: You should have successfully

More information

Semester 2, 2018: Lab 1

Semester 2, 2018: Lab 1 Semester 2, 2018: Lab 1 S2 2018 Lab 1 This lab has two parts. Part A is intended to help you familiarise yourself with the computing environment found on the CSIT lab computers which you will be using

More information

Introduction to Programming with Python 3, Ami Gates. Chapter 1: Creating a Programming Environment

Introduction to Programming with Python 3, Ami Gates. Chapter 1: Creating a Programming Environment Introduction to Programming with Python 3, Ami Gates Chapter 1: Creating a Programming Environment 1.1: Python, IDEs, Libraries, Packages, and Platforms A first step to learning and using any new programming

More information

Coeus Installation and Troubleshooting

Coeus Installation and Troubleshooting Coeus Installation and Troubleshooting Directions updated November 6, 2017 Are you having trouble launching Coeus? Trouble with icons? Confused about Java versions? Need to download Java? Just got a Windows

More information

EXCEL BASICS: MICROSOFT OFFICE 2010

EXCEL BASICS: MICROSOFT OFFICE 2010 EXCEL BASICS: MICROSOFT OFFICE 2010 GETTING STARTED PAGE 02 Prerequisites What You Will Learn USING MICROSOFT EXCEL PAGE 03 Opening Microsoft Excel Microsoft Excel Features Keyboard Review Pointer Shapes

More information

How to make a Work Profile for Windows 10

How to make a Work Profile for Windows 10 How to make a Work Profile for Windows 10 Setting up a new profile for Windows 10 requires you to navigate some screens that may lead you to create the wrong type of account. By following this guide, we

More information

My First iphone App (for Xcode version 6.4)

My First iphone App (for Xcode version 6.4) My First iphone App (for Xcode version 6.4) 1. Tutorial Overview In this tutorial, you re going to create a very simple application on the iphone or ipod Touch. It has a text field, a label, and a button

More information

Lesson 1. Importing and Organizing Footage using Premiere Pro CS3- CS5

Lesson 1. Importing and Organizing Footage using Premiere Pro CS3- CS5 Lesson 1 Importing and Organizing Footage using Premiere Pro CS3- CS5 When working with a video editor the video source will come from either a capturing process or importing video clips into the editing

More information

Chapter 2. Editing And Compiling

Chapter 2. Editing And Compiling Chapter 2. Editing And Compiling Now that the main concepts of programming have been explained, it's time to actually do some programming. In order for you to "edit" and "compile" a program, you'll need

More information

EXCEL BASICS: MICROSOFT OFFICE 2007

EXCEL BASICS: MICROSOFT OFFICE 2007 EXCEL BASICS: MICROSOFT OFFICE 2007 GETTING STARTED PAGE 02 Prerequisites What You Will Learn USING MICROSOFT EXCEL PAGE 03 Opening Microsoft Excel Microsoft Excel Features Keyboard Review Pointer Shapes

More information

How to get started with Theriak-Domino and some Worked Examples

How to get started with Theriak-Domino and some Worked Examples How to get started with Theriak-Domino and some Worked Examples Dexter Perkins If you can follow instructions, you can download and install Theriak-Domino. However, there are several folders and many files

More information

How to set up an Amazon Work Profile for Windows 8

How to set up an Amazon Work Profile for Windows 8 How to set up an Amazon Work Profile for Windows 8 Setting up a new profile for Windows 8 requires you to navigate some screens that may lead you to create the wrong type of account. By following this

More information

Indispensable tips for Word users

Indispensable tips for Word users Indispensable tips for Word users No matter how long you've been using Microsoft Word, you can always learn new techniques to help you work faster and smarter. Here are some of TechRepublic's favorite

More information

Lab 1 Introduction to R

Lab 1 Introduction to R Lab 1 Introduction to R Date: August 23, 2011 Assignment and Report Due Date: August 30, 2011 Goal: The purpose of this lab is to get R running on your machines and to get you familiar with the basics

More information

CSE 3. The Desktop. Learning About Technology. Playing Recorded Music. The Desktop (cont'd)

CSE 3. The Desktop. Learning About Technology. Playing Recorded Music. The Desktop (cont'd) CSE 3 Comics Updates U2 puzzle Shortcut(s) of the day Ch 1-2, 16-17 How Computers Work Textbook wrong: -Select / -Select Chapter 2: What the Digerati Know: Exploring the Human-Computer

More information

CSE 3. Learning About Technology. Comics Updates U2 puzzle Shortcut(s) of the day Ch 1-2, How Computers Work Textbook wrong:

CSE 3. Learning About Technology. Comics Updates U2 puzzle Shortcut(s) of the day Ch 1-2, How Computers Work Textbook wrong: CSE 3 Comics Updates U2 puzzle Shortcut(s) of the day Ch 1-2, 16-17 How Computers Work Textbook wrong: -Select / -Select 1-1 2-1 Chapter 2: What the Digerati Know: Exploring the Human-Computer

More information

AutoCollage 2008 makes it easy to create an AutoCollage from a folder of Images. To create an AutoCollage:

AutoCollage 2008 makes it easy to create an AutoCollage from a folder of Images. To create an AutoCollage: Page 1 of 18 Using AutoCollage 2008 AutoCollage 2008 makes it easy to create an AutoCollage from a folder of Images. To create an AutoCollage: 1. Click on a folder name in the Image Browser. 2. Once at

More information

Basics Lesson Seven Organizing Windows

Basics Lesson Seven Organizing Windows Understanding Files and Folders A File is a single individual computer object, in effect, any single entity. It is always contained within a folder (The C drive being the largest folder). o Such as a word

More information

Windows XP. A Quick Tour of Windows XP Features

Windows XP. A Quick Tour of Windows XP Features Windows XP A Quick Tour of Windows XP Features Windows XP Windows XP is an operating system, which comes in several versions: Home, Media, Professional. The Windows XP computer uses a graphics-based operating

More information

Introduction to Windows

Introduction to Windows Introduction to Windows Naturally, if you have downloaded this document, you will already be to some extent anyway familiar with Windows. If so you can skip the first couple of pages and move on to the

More information

Partner Integration Portal (PIP) Installation Guide

Partner Integration Portal (PIP) Installation Guide Partner Integration Portal (PIP) Installation Guide Last Update: 12/3/13 Digital Gateway, Inc. All rights reserved Page 1 TABLE OF CONTENTS INSTALLING PARTNER INTEGRATION PORTAL (PIP)... 3 DOWNLOADING

More information

TourMaker Reference Manual. Intro

TourMaker Reference Manual. Intro TourMaker Reference Manual Intro Getting Started Tutorial: Edit An Existing Tour Key Features & Tips Tutorial: Create A New Tour Posting A Tour Run Tours From Your Hard Drive Intro The World Wide Web is

More information

CONTENT. 1.0 Introduction Downloading and installing the software Running the software Using the software 7

CONTENT. 1.0 Introduction Downloading and installing the software Running the software Using the software 7 2 CONTENT Page 1.0 Introduction 1 2.0 Downloading and installing the software 2 3.0 Running the software 6 4.0 Using the software 7 5.0 Populating Records for Mathematics 9 6.0 Printing Reports 12 7.0

More information

Learning About Technology. The Desktop (cont'd) The Desktop. Playing Recorded Music

Learning About Technology. The Desktop (cont'd) The Desktop. Playing Recorded Music Chapter 2: What the Digerati Know: Exploring the Human-Computer Interface Fluency with Information Technology Third Edition by Lawrence Snyder Learning About Technology People do not have any innate technological

More information

RTMS - Software Setup

RTMS - Software Setup RTMS - Software Setup These instructions are for setting up the RTMS (Robot Tracking & Management System) software. This software will run on your PC/MAC and will be used for various labs in order to allow

More information

User Guide Hilton Court St. Paul, MN (651)

User Guide Hilton Court St. Paul, MN (651) User Guide 6331 Hilton Court St. Paul, MN 55115 (651) 779 0955 http://www.qdea.com sales@qdea.com support@qdea.com Synchronize! and Qdea are trademarks of Qdea. Macintosh and the Mac OS logo are trademarks

More information

2 The Stata user interface

2 The Stata user interface 2 The Stata user interface The windows This chapter introduces the core of Stata s interface: its main windows, its toolbar, its menus, and its dialogs. The five main windows are the Review, Results, Command,

More information

Using X-Particles with Team Render

Using X-Particles with Team Render Using X-Particles with Team Render Some users have experienced difficulty in using X-Particles with Team Render, so we have prepared this guide to using them together. Caching Using Team Render to Picture

More information

4. Some computers may also be customised so that a program such as Word can be started using a keyboard command.

4. Some computers may also be customised so that a program such as Word can be started using a keyboard command. Using Microsoft Word Starting the Program There are several ways to start a program in Microsoft Windows and they may include the following: 1. Clicking an icon on the desktop. 2. Clicking an icon in the

More information

Table of Contents. 1 Introduction Downloads Eclipse SDK Installation Eclipse Workspace Eclipse Preferences...

Table of Contents. 1 Introduction Downloads Eclipse SDK Installation Eclipse Workspace Eclipse Preferences... SDK Quickstar t S et Eclpse f or u Dig Pl ug - in De velo p me nt Table of Contents 1 Introduction... 3 2 Downloads... 4 3 Eclipse SDK Installation... 5 4 Eclipse Workspace... 7 5 Eclipse Preferences...

More information

Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS)

Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS) (434) 924-7988, RRH 219 helpdesk@comm.virginia.edu Installation Guide: VirtualBox, Windows 10, and Microsoft Visio (Mac OS) Prerequisites: Verify that your installation of OS X and Safari have the most

More information

USING DRUPAL. Hampshire College Website Editors Guide https://drupal.hampshire.edu

USING DRUPAL. Hampshire College Website Editors Guide https://drupal.hampshire.edu USING DRUPAL Hampshire College Website Editors Guide 2014 https://drupal.hampshire.edu Asha Kinney Hampshire College Information Technology - 2014 HOW TO GET HELP Your best bet is ALWAYS going to be to

More information

Introduction to 9.0. Introduction to 9.0. Getting Started Guide. Powering collaborative online communities.

Introduction to 9.0. Introduction to 9.0. Getting Started Guide. Powering collaborative online communities. Introduction to 9.0 Introduction to 9.0 Getting Started Guide Powering collaborative online communities. TABLE OF CONTENTS About FirstClass...3 Connecting to your FirstClass server...3 FirstClass window

More information

IBM WebSphere Java Batch Lab

IBM WebSphere Java Batch Lab IBM WebSphere Java Batch Lab What are we going to do? First we are going to set up a development environment on your workstation. Download and install Eclipse IBM WebSphere Developer Tools IBM Liberty

More information

A computer program is a set of instructions that causes a computer to perform some kind of action. It isn t the physical parts of a computer like the

A computer program is a set of instructions that causes a computer to perform some kind of action. It isn t the physical parts of a computer like the 1 Not All Snakes Slither A computer program is a set of instructions that causes a computer to perform some kind of action. It isn t the physical parts of a computer like the wires, microchips, cards,

More information

Menu Symbols. Menu Symbol. Key on Keyboard

Menu Symbols. Menu Symbol. Key on Keyboard Menu Symbols Menu Symbol Key on Keyboard Command/Apple Key (like Control on a PC) Also written as Cmd Option (like Alt on a PC) Shift Control (Control-click = Right-click) Tab Return Enter (on Number Pad)

More information

ILLUSTRATOR. Introduction to Adobe Illustrator. You will;

ILLUSTRATOR. Introduction to Adobe Illustrator. You will; ILLUSTRATOR You will; 1. Learn Basic Navigation. 2. Learn about Paths. 3. Learn about the Line Tools. 4. Learn about the Shape Tools. 5. Learn about Strokes and Fills. 6. Learn about Transformations. 7.

More information

NAVIGATING WINDOWS. What is WINDOWS? DESKTOP ICON PROGRAM

NAVIGATING WINDOWS. What is WINDOWS? DESKTOP ICON PROGRAM NAVIGATING WINDOWS What is WINDOWS? It is simply a computer program, like WORD, EXCEL, with one VIP difference (the boss), it is the program that manages all the other programs and documents [aka files].

More information

Basic Concepts. Launching MultiAd Creator. To Create an Alias. file://c:\documents and Settings\Gary Horrie\Local Settings\Temp\~hh81F9.

Basic Concepts. Launching MultiAd Creator. To Create an Alias. file://c:\documents and Settings\Gary Horrie\Local Settings\Temp\~hh81F9. Page 1 of 71 This section describes several common tasks that you'll need to know in order to use Creator successfully. Examples include launching Creator and opening, saving and closing Creator documents.

More information

Getting Started with Windows XP

Getting Started with Windows XP UNIT A Getting Started with Microsoft, or simply Windows, is an operating system. An operating system is a kind of computer program that controls how a computer carries out basic tasks such as displaying

More information

User Guide. Chapter 6. Teacher Pages

User Guide. Chapter 6. Teacher Pages User Guide Chapter 6 s Table of Contents Introduction... 5 Tips for s... 6 Pitfalls... 7 Key Information... 8 I. How to add a... 8 II. How to Edit... 10 SharpSchool s WYSIWYG Editor... 11 Publish a...

More information

Word 1 Module 2. Word 1. Module 2

Word 1 Module 2. Word 1. Module 2 Word 1 Module 2 Revised 5/1/17 Contents Create a New Document...2 Class Walkthrough 2.1...2 Entering Text into a Document...2 Class Walkthrough 2.2...2 Lines of Text vs. Paragraphs...2 Insertion Point...3

More information

Dreamweaver Handout. University of Connecticut Prof. Kent Golden

Dreamweaver Handout. University of Connecticut Prof. Kent Golden Dreamweaver Handout University of Connecticut Prof. Kent Golden Kent@GoldenMultimedia.com www.goldenmultimedia.com Main goal of this handout: To give you the steps needed to create a basic personal website

More information

Folder Sync Instruction Manual

Folder Sync Instruction Manual Folder Sync Instruction Manual Document History 4 05-Nov-2011 Updated to reflect notable changes in v1.4.0 3 08-Sep-2011 Updated to reflect notable changes in v1.3.0 2 20-Jun-2011 Updated to reflect notable

More information

6. Essential Spreadsheet Operations

6. Essential Spreadsheet Operations 6. Essential Spreadsheet Operations 6.1 Working with Worksheets When you open a new workbook in Excel, the workbook has a designated number of worksheets in it. You can specify how many sheets each new

More information

CS 209 Section 52 Lab 1-A: Getting Started with NetBeans Instructor: J.G. Neal Objectives: Lab Instructions: Log in Create folder CS209

CS 209 Section 52 Lab 1-A: Getting Started with NetBeans Instructor: J.G. Neal Objectives: Lab Instructions: Log in Create folder CS209 CS 209 Section 52 Lab 1-A: Getting Started with NetBeans Instructor: J.G. Neal Objectives: 1. To create a project in NetBeans. 2. To create, edit, compile, and run a Java program using NetBeans. 3. To

More information

Windows 10 Quick Tips

Windows 10 Quick Tips Windows 10 Quick Tips Contents Drag to Fit Windows... 2 Quickly Jump Between Virtual Desktops... 2 Move open windows between virtual desktops... 2 Rotate Your Screen via Keyboard Ctrl-Alt-D Arrows... 3

More information

2 Frequently Asked... Questions. 4 How Do I... 1 Working within... Entries

2 Frequently Asked... Questions. 4 How Do I... 1 Working within... Entries Contents I Table of Contents Part I Welcome 6 1 Welcome... 6 2 Frequently Asked... Questions 6 Part II Getting Started 6 1 Getting Started... 6 2... 7 Create a New Database... 7 Open an Existing... Database

More information

Section 1. System Technologies and Implications. Modules. Introduction to computers. File management. ICT in perspective. Extended software concepts

Section 1. System Technologies and Implications. Modules. Introduction to computers. File management. ICT in perspective. Extended software concepts Section 1 System Technologies and Implications Modules 1.1 Introduction to computers 1.2 Software 1.3 Hardware 1.4 File management 1.5 ICT in perspective 1.6 Extended software concepts 1.7 Extended hardware

More information

Discovering Computers & Microsoft Office Office 2010 and Windows 7: Essential Concepts and Skills

Discovering Computers & Microsoft Office Office 2010 and Windows 7: Essential Concepts and Skills Discovering Computers & Microsoft Office 2010 Office 2010 and Windows 7: Essential Concepts and Skills Objectives Perform basic mouse operations Start Windows and log on to the computer Identify the objects

More information

Operating System Interaction via bash

Operating System Interaction via bash Operating System Interaction via bash bash, or the Bourne-Again Shell, is a popular operating system shell that is used by many platforms bash uses the command line interaction style generally accepted

More information

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010

CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010 CST8152 Compilers Creating a C Language Console Project with Microsoft Visual Studio.Net 2010 The process of creating a project with Microsoft Visual Studio 2010.Net is similar to the process in Visual

More information

Code::Blocks Student Manual

Code::Blocks Student Manual Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of

More information

Computer Basics: Step-by-Step Guide (Session 2)

Computer Basics: Step-by-Step Guide (Session 2) Table of Contents Computer Basics: Step-by-Step Guide (Session 2) ABOUT PROGRAMS AND OPERATING SYSTEMS... 2 THE WINDOWS 7 DESKTOP... 3 TWO WAYS TO OPEN A PROGRAM... 4 DESKTOP ICON... 4 START MENU... 5

More information

The Galileo Desktop-Focalpoint 4.0. Table of Contents

The Galileo Desktop-Focalpoint 4.0. Table of Contents Acknowledgement: This quick reference was developed by Galileo International, Training and Development. For questions or comments, please send a message to training.development@galileo.com Apollo, Galileo,

More information

What you get When you install Python for your computer, you get a number of features:

What you get When you install Python for your computer, you get a number of features: Lab 1 CS161 Exercise 1: In the beginning Why Python? Python is a programming language that was first conceived by Guido van Rossum in the late 1980 s and in 1990. While there are a number of programming

More information

The QuickCalc BASIC User Interface

The QuickCalc BASIC User Interface The QuickCalc BASIC User Interface Running programs in the Windows Graphic User Interface (GUI) mode. The GUI mode is far superior to running in the CONSOLE mode. The most-used functions are on buttons,

More information

CSCI 201 Lab 1 Environment Setup

CSCI 201 Lab 1 Environment Setup CSCI 201 Lab 1 Environment Setup "The journey of a thousand miles begins with one step." - Lao Tzu Introduction This lab document will go over the steps to install and set up Eclipse, which is a Java integrated

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

Basic Software Maintenance. Ham Station Ultra Software Package

Basic Software Maintenance. Ham Station Ultra Software Package 1 Carl Skip Glover, Jr. K1SPG Custom Software & Hardware Solutions 4 Valley of Industry Boscawen, NH 03303 (603) 369-7015 Email: pctech.skip@gmail.com Email: k1spg@arrl.net Basic Software Maintenance Ham

More information

The Domino Designer QuickStart Tutorial

The Domino Designer QuickStart Tutorial The Domino Designer QuickStart Tutorial 1. Welcome The Domino Designer QuickStart Tutorial You've installed Domino Designer, you've taken the Designer Guided Tour, and maybe you've even read some of the

More information

Impossible Solutions, Inc. JDF Ticket Creator & DP2 to Indigo scripts Reference Manual Rev

Impossible Solutions, Inc. JDF Ticket Creator & DP2 to Indigo scripts Reference Manual Rev Impossible Solutions, Inc. JDF Ticket Creator & DP2 to Indigo scripts Reference Manual Rev. 06.29.09 Overview: This reference manual will cover two separate applications that work together to produce a

More information

Module 1: Introduction RStudio

Module 1: Introduction RStudio Module 1: Introduction RStudio Contents Page(s) Installing R and RStudio Software for Social Network Analysis 1-2 Introduction to R Language/ Syntax 3 Welcome to RStudio 4-14 A. The 4 Panes 5 B. Calculator

More information

VPN Installation Quick Setup Guide

VPN Installation Quick Setup Guide VPN Installation Quick Setup Guide For computers running This document will help guide you through the process of installing the NJ TRANSIT VPN software on your Apple Macintosh (Mac) OS X computer. If

More information

Windows Me Navigating

Windows Me Navigating LAB PROCEDURE 11 Windows Me Navigating OBJECTIVES 1. Explore the Start menu. 2. Start an application. 3. Multi-task between applications. 4. Moving folders and files around. 5. Use Control Panel settings.

More information

File Storage & Windows Tips

File Storage & Windows Tips Recycle Bin Holds onto deleted files until you empty the bin. Windows Desktop The screen below should be similar to what you may have seen on your computer at work or at home. Icons For: Programs Files

More information

Lab 1: Accessing the Linux Operating System Spring 2009

Lab 1: Accessing the Linux Operating System Spring 2009 CIS 90 Linux Lab Exercise Lab 1: Accessing the Linux Operating System Spring 2009 Lab 1: Accessing the Linux Operating System This lab takes a look at UNIX through an online experience on an Ubuntu Linux

More information

Aqua Connect Remote Desktop Services 3.9 User Manual

Aqua Connect Remote Desktop Services 3.9 User Manual Aqua Connect Remote Desktop Services 3.9 User Manual Table of Contents Table of Contents...2 About Aqua Connect Remote Desktop Services...3 Features... 3 System Requirements... 4 Hardware... 4 Software...

More information

CMSC 201 Spring 2018 Lab 01 Hello World

CMSC 201 Spring 2018 Lab 01 Hello World CMSC 201 Spring 2018 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 4th by 8:59:59 PM Value: 10 points At UMBC, the GL system is designed to grant students the privileges

More information