t_00.4up - Todays Topics: Engineering Computation: Tutorial...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Engineering Computation: Tutorial 00 Problem Solving with Computing, using the Python Language Today’s Topics: 1 Course resources 2 Downloading and installing Python 3 Printing things to the screen 4 Using Python as a calculator 5 Integer division 2 “Hello World” Textbook For resources specifically related to the text, such as: source code for all the example programs supplementary materials The text site is at http://mcsp.wartburg.edu/zelle/python/ 3 “Python” For all things Pythonic http://www.python.org Browse documentation. Get pointers to lots of Python-related applications and projects. 4
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
“IDLE” When you download ”Python” from the site, you are downloading an IDE. An IDE is an Integrated development environment . The name of Python’s IDE is IDLE. Python Trivia The Python Programming language is named after the television series Monty Python’s Flying Circus . The Python IDE (IDLE) is named after Eric Idle , the writer of Monty Python. 5 Downloading. .. Windows and Mac users: Download the 2.6.6 installer from here . Linux(Ubuntu) users: In a terminal window type: sudo apt-get install idle Appendix B of the Zelle textbook may be of some help. 6 Let’s get started! Interactive Python When you start up IDLE (a.k.a. Starting the interpreter), you get get this screen: This is the Python Interpreter The >>> is the prompt . The prompt is where the computer is waiting for us to give it a command (interact with the Python interpreter). 7 Our First Interaction with the Python Interpreter At the Python prompt, give the interpreter the following command: >>> print Hello World 8
Background image of page 2
What went wrong? >>> print
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 09/14/2011.

Page1 / 9

t_00.4up - Todays Topics: Engineering Computation: Tutorial...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online