CS101.Lect24.Python.Intro.ppt

CS101.Lect24.Python. - CS101 Lecture 24 Thinking in Python Input and Output Variables and Arithmetic Aaron Stevens 28 March 2011 1

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

View Full Document Right Arrow Icon
1 1 Aaron Stevens 28 March 2011 CS101 Lecture 24: Thinking in Python: Input and Output Variables and Arithmetic 2 Overview/Questions – Review: Programmability – Why learn programming? – What is a programming language? – What is Python?
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 3 Compiled Language Source Code (Program) Compiler Machine Code Program Inputs Running Program Outputs A compiler takes source code, and produces executable machine code (stored in a file on disk). The machine code program is executed by the user. Advantage: speed at time of execution. 4 Interpreted Language Source Code (Program) Computer Running an Interpreter Inputs Outputs An interpreter takes source code as input, and then compiles each statement and executes it immediately. Advantage: portability
Background image of page 2
5 Introducing Python 6 Introducing Python We will experiment with the Python programming language. What is Python? – A very high level interpreted language. – Very clear and simple syntax. – Runs an almost any computing device Windows, Linux/Unix, Mac OS X, OS/2, Amiga, Palm Handhelds, Nokia mobile phones, and any device which supports Java. You can download and install Python on your own computer for free. – We will use the Jython Environment for Students
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 note was uploaded on 12/16/2011 for the course CS 101 taught by Professor Stevens during the Spring '08 term at BU.

Page1 / 14

CS101.Lect24.Python. - CS101 Lecture 24 Thinking in Python Input and Output Variables and Arithmetic Aaron Stevens 28 March 2011 1

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