Python - a Dynamic Programming Language. Guido van Rossum May 31, 2007
|
|
- Sybil Patrick
- 6 years ago
- Views:
Transcription
1
2 Python - a Dynamic Programming Language Guido van Rossum May 31, 2007
3 Outline What is Python? Origins, history and design philosophy Python today The future: Python 3000 Links, Q&A 3 Copyright 2007 Google Inc.
4 What is Python? Copyright 2007 Google Inc.
5 Python is fast enough for our site and allows us to produce maintainable features in record times, with a minimum of developers. Cuong Do, Software Architect, YouTube Copyright 2007 Google Inc.
6 What is Python? A dynamically typed general programming language Object-oriented, buzzword-compliant (sort of :-) Easy to learn, easy to read, easy to write, easy to use Almost executable pseudo-code :-) Mature: development started 18 years ago An Open Source project Trademarked by the Python Software Foundation Number 7 on the TIOBE list of programming languages Used by Google, NASA, Yahoo!, Microsoft, 6 Copyright 2007 Google Inc.
7 Application Areas Everything :-) Traditional scripting (e.g. system admininstration) Rapid prototyping Web apps, DB apps, GUI apps, XML apps Scientific computing 3rd party libraries for numerical processing, visualization replacing MATLAB in some areas Education introduction to programming courses One Laptop Per Child project uses Python 7 Copyright 2007 Google Inc.
8 Micro Tutorial >>> print 2** >>> def hello(name, n=1): # Greet name n times... for i in range(n):... print "Hello", name... >>> hello("beijing") Hello Beijing >>> hello("china", 2) Hello China Hello China >>> print " 故宫 " 故宫 >>> 8 Copyright 2007 Google Inc.
9 Micro Tutorial (Continued) >>> import urllib >>> f = urllib.urlopen(" >>> homepage = f.read() >>> counter = 0 >>> for line in homepage.splitlines():... if "Google" in line:... counter += 1... >>> print counter 3 >>> 9 Copyright 2007 Google Inc.
10 Origins, History and Design Philosophy Copyright 2007 Google Inc.
11 Brief Timeline Project started, name picked December 1989 First public release (USENET) February 1991 python.org website 1996 or 1997 Python 2.0 released 2000 Python Software Foundation created 2001 Python 2.4 released 2004 Python 2.5 released Copyright 2007 Google Inc.
12 Why I Designed Python ABC - teaching language created at CWI in Amsterdam designed in late 70s, early 80s (not by me!) I was on the implementation team from 82 through 86 had my own thoughts about its lack of success Amoeba - distributed microkernel OS almost completely, but not quite, unlike Unix only languages available were C and sh I decided to try to bridge the gap Other influences: Algol-60, Algol-68, C, Modula-3, Smalltalk, Icon but not Lisp at least not directly 12 Copyright 2007 Google Inc.
13 Original Design Goals Simple implementation (1 person) Typical Very-High-Level Language goals (see next slide) Cross-platform (hardware & OS) Readability and expressive power Easy to learn and remember; predictability Safety: bugs don t crash interpreter Don t compete with C; complement it! extensibility through C extension modules this makes Python an ideal glue language 13 Copyright 2007 Google Inc.
14 Standard VHLL Features Automatic memory management Small number of powerful data types Byte code interpreter (virtual machine) Built-in serialization (marshal, pickle) KISS (Keep It Simple, Stupid) Even indentation was borrowed! (from ABC, occam) lots of other stuff, too Python doesn t have "Not Invented Here" syndrome :-) 14 Copyright 2007 Google Inc.
15 Python s Big Ideas No type checking in the compiler Dynamic typing, static scoping Everything is an object Everything has a namespace (or several!) Everything can be introspected, printed System has few privileges over user Interactive prompt: >>> >>> Potential simplicity of implementation matters! 15 Copyright 2007 Google Inc.
16 Original Design Process Consider a desirable feature (either user feedback or my own needs discovered while using it) Only if there is absolutely no way to implement it as a library module or C extension, consider changing the compiler Make the absolutely minimal changes necessary to the compiler; reuse existing functionality as much as possible This gave us explicit self, for example 16 Copyright 2007 Google Inc.
17 Modern Design Process Pretty much the same, but also worrying about backwards compatibility Set the bar really high by only accepting new language features that will be of use to a wide variety of users Prevent repeating early mistakes, where sometimes shortcuts were taken that were too extreme, and had to be changed at great cost (e.g. int/long, classic classes) 17 Copyright 2007 Google Inc.
18 Counterforce: Readability No hack so clever or it must be readable! Require at least one of: Does it read naturally, like English? Does it resemble well-known math notation? Does it resemble a similar feature in another (popular) programming language? Is it a logical extension of existing syntax? (Of course this is highly subjective ) 18 Copyright 2007 Google Inc.
19 Community Interaction PEP: Python Enhancement Proposal Like JSR (Java), RFC (IETF) Though a bit less formal (smaller community) Not just for language changes Common APIs (e.g. db-api, WSGI) Sometimes library design (often not needed) Bookkeeping (e.g. release schedules) Typically not for performance enhancements Not a democracy! (Nor a dictatorship :-) Open Source has its own checks and balances Nobody has absolute power; we talk things over 19 Copyright 2007 Google Inc.
20 Python Today Copyright 2007 Google Inc.
21 State of the Art Python 2.5 was released on September 19, 2006 Python on April 18, 2007 (pure bugfix release) Some language improvements: conditional expression (expr1 if condition else expr2) with-statement (with resource: code block) and more, e.g. relative import; generator improvements Library significantly improved, e.g.: ElementTree: better, faster XML processing SQLite: embedded database ctypes: call C functions directly Over 800 changes in subversion since Python 2.4! 21 Copyright 2007 Google Inc.
22 Other Python Implementations Jython: oldest, in 100% Pure Java, on JVM seamless integration with Java class libraries currently behind, but catching up (2.2 beta 2 is out!) IronPython: runs on.net (and Mono!) done by Jim Hugunin at Microsoft (he started Jython too!) MS shared source license (open source? seems so!) PyPy: experimental Python-in-Python European Community funded project mostly a research tool, not yet practical 22 Copyright 2007 Google Inc.
23 The Future: Python 3000 Copyright 2007 Google Inc.
24 Python 3000: Python, Reloaded Python 3.0 = Python 3000 = Py3k Don t design a whole new language! Fix early design mistakes (many made in !) Allow incompatible changes (within reason) Get rid of deprecated f eatures first opportunity for big incompatibilities e.g. int division: 1/2 gives 0 in Python 2; 0.5 in Python 3 Consider what s the best feature going forward 24 Copyright 2007 Google Inc.
25 Python 3000 Highlights Unicode integral to the language (used to be optional) All text strings are Unicode Separate 'bytes' type for binary or encoded data Identifiers in code may use letters in any alphabet Text files automatically convert to/from encoded data Binary files read/write bytes, not strings UTF-16 vs. UTF-32: compile-time choice Linux vendors likely to choose UTF-32 Windows pretty much requires UTF Copyright 2007 Google Inc.
26 Python 3000 Highlights (Continued) Abstract Base Class support e.g. isinstance(x, Number), isinstance(x, Sequence) Function argument annotations e.g. def foo(x: Number, y: Sequence) -> Mapping Iterators instead of lists in many places e.g. range(), zip(), map(), filter() Better support for sets {1, 2, 3} instead of set([1, 2, 3]) dict.keys() returns a set (view) instead of a list 26 Copyright 2007 Google Inc.
27 Python 3000 Highlights (Continued) A single integer type named int behaves like long in Python 2.x (i.e. arbitrary precision) Print becomes a function easier to manipulate, substitute, refactor print >>sys.stderr, hello becomes print( hello, file=sys.stderr) New standard I/O library needed to implement the Unicode I/O features removes dependency on C stdio implementation 27 Copyright 2007 Google Inc.
28 Python 3000 Release Schedule Subject to change! First alpha: summer 2007 Final release: one year after first alpha Python 2.6 to be developed in parallel with 3.0: don t want users holding their breath waiting for is fully backwards compatible with also supports 3.0 compatibility mode some features backported from 3.0 warnings about features that will disappear or change 28 Copyright 2007 Google Inc.
29 Links, Q&A Copyright 2007 Google Inc.
30 Links Python main website Documentation Python Enhancement Proposals (PEPs) Python Jython (Python for JVM) IronPython (Python for.net) 30 Copyright 2007 Google Inc.
31
21 Years of Python. From Pet Project to Programming Language of the Year. Guido van Rossum May 2011
21 Years of Python From Pet Project to Programming Language of the Year Guido van Rossum guido@python.org May 2011 Disclaimer I am speaking on my own behalf. My statements reflect my views only and do
More informationPython 3000 and You. Guido van Rossum PyCon March 14, 2008
Python 3000 and You Guido van Rossum PyCon March 14, 2008 Why Py3k Open source needs to move or die Matz (creator of Ruby) To fix early, sticky design mistakes e.g. classic classes, int division, print
More informationPython. Jae-Gil Lee Based on the slides by K. Naik, M. Raju, and S. Bhatkar. December 28, Outline
Python Jae-Gil Lee Based on the slides by K. Naik, M. Raju, and S. Bhatkar December 28, 2011 1 Outline Introduction Installation and Use Distinct Features Python Basics Functional Example Comparisons with
More informationWelcome to Python! If you re the type of person who wants to know
In This Chapter The history of Python What people use Python for Chapter 1 Introducing Python Useful concepts for Python programming Welcome to Python! If you re the type of person who wants to know what
More informationIntroduction to Python. Didzis Gosko
Introduction to Python Didzis Gosko Scripting language From Wikipedia: A scripting language or script language is a programming language that supports scripts, programs written for a special run-time environment
More informationTable of Contents EVALUATION COPY
Table of Contents Introduction... 1-2 A Brief History of Python... 1-3 Python Versions... 1-4 Installing Python... 1-5 Environment Variables... 1-6 Executing Python from the Command Line... 1-7 IDLE...
More informationSenthil Kumaran S
Senthil Kumaran S http://www.stylesen.org/ Agenda History Basics Control Flow Functions Modules History What is Python? Python is a general purpose, object-oriented, high level, interpreted language Created
More informationPython 3000 and You. Guido van Rossum EuroPython July 7, 2008
Python 3000 and You Guido van Rossum EuroPython July 7, 2008 Why Py3k Open source needs to move or die Matz (creator of Ruby) To fix early, sticky design mistakes e.g. classic classes, int division, print
More informationComputer Science Seminar. Whats the next big thing? Ruby? Python? Neither?
Computer Science Seminar Whats the next big thing? Ruby? Python? Neither? Introduction Seminar Style course unlike many computer science courses discussion important, encouraged and part of your grade
More informationPyPy - How to not write Virtual Machines for Dynamic Languages
PyPy - How to not write Virtual Machines for Dynamic Languages Institut für Informatik Heinrich-Heine-Universität Düsseldorf ESUG 2007 Scope This talk is about: implementing dynamic languages (with a focus
More informationAn Introduc+on to Computers and Java CSC 121 Spring 2017 Howard Rosenthal
An Introduc+on to Computers and Java CSC 121 Spring 2017 Howard Rosenthal Lesson Goals Learn the basic terminology of a computer system Understand the basics of high level languages, including Java Understand
More informationIntroduction to Python for IBM i
Introduction to Python for IBM i Mike Pavlak IT Strategist mike.pavlak@freschesolutions.com Agenda A little about Python Why use Python How to install/determine if installed IDE Syntax 101 Variables Strings
More informationThe State of Python. and the web. Armin Ronacher
The State of Python and the web Armin Ronacher // @mitsuhiko Who am I Armin Ronacher (@mitsuhiko) Founding Member of the Pocoo Team we're doing Jinja2, Werkzeug, Flask, Pygments, Sphinx and a bunch of
More informationPython for Analytics. Python Fundamentals RSI Chapters 1 and 2
Python for Analytics Python Fundamentals RSI Chapters 1 and 2 Learning Objectives Theory: You should be able to explain... General programming terms like source code, interpreter, compiler, object code,
More informationPython for Earth Scientists
Python for Earth Scientists Andrew Walker andrew.walker@bris.ac.uk Python is: A dynamic, interpreted programming language. Python is: A dynamic, interpreted programming language. Data Source code Object
More informationIntro to Programming. Unit 7. What is Programming? What is Programming? Intro to Programming
Intro to Programming Unit 7 Intro to Programming 1 What is Programming? 1. Programming Languages 2. Markup vs. Programming 1. Introduction 2. Print Statement 3. Strings 4. Types and Values 5. Math Externals
More informationIntroduction to Python. Prof. Steven Ludtke
Introduction to Python Prof. Steven Ludtke sludtke@bcm.edu 1 8512 documented lanuages (vs. 2376) Four of the first modern languages (50s): FORTRAN (FORmula ( TRANslator LISP (LISt ( Processor ALGOL COBOL
More informationPython Workshop. January 18, Chaitanya Talnikar. Saket Choudhary
Chaitanya Talnikar Saket Choudhary January 18, 2012 Python Named after this : Python Slide 1 was a joke! Python Slide 1 was a joke! Python : Conceived in late 1980s by Guido van Rossum as a successor to
More informationpython. a presentation to the Rice University CS Club November 30, 2006 Daniel Sandler
python. a presentation to the Rice University CS Club November 30, 2006 Daniel Sandler http://www.cs.rice.edu/~dsandler/python/ 1. 2. 3. 4. 1. A young mind is corrupted. Me, circa 2000 (very busy) Many
More informationWeek - 01 Lecture - 04 Downloading and installing Python
Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and
More informationLecture 1. basic Python programs, defining functions
Lecture 1 basic Python programs, defining functions Lecture notes modified from CS Washington CS 142 Except where otherwise noted, this work is licensed under: http://creativecommons.org/licenses/by-nc-sa/3.0
More informationIntroduction. A. Bellaachia Page: 1
Introduction 1. Objectives... 2 2. Why are there so many programming languages?... 2 3. What makes a language successful?... 2 4. Programming Domains... 3 5. Language and Computer Architecture... 4 6.
More informationCS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG
CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG 1 Notice Class Website http://www.cs.umb.edu/~jane/cs114/ Reading Assignment Chapter 1: Introduction to Java Programming
More informationThis is an introductory tutorial, which covers the basics of Jython and explains how to handle its various modules and sub-modules.
About the Tutorial Jython is the JVM implementation of the Python programming language. It is designed to run on the Java platform. Jython was created in 1997 by Jim Hugunin. It closely follows the standard
More informationVortex OpenSplice. Python DDS Binding
Vortex OpenSplice Python DDS Binding ist.adlinktech.com 2018 Table of Contents 1. Background... 3 2. Why Python DDS Binding is a Big Deal... 4 2 1. Background 1.1 Python Python Software Foundation s Python
More informationToday. Review. Unix as an OS case study Intro to Shell Scripting. What is an Operating System? What are its goals? How do we evaluate it?
Today Unix as an OS case study Intro to Shell Scripting Make sure the computer is in Linux If not, restart, holding down ALT key Login! Posted slides contain material not explicitly covered in class 1
More informationCS 3813/718 Fall Python Programming. Professor Liang Huang.
CS 3813/718 Fall 2012 Python Programming Professor Liang Huang huang@cs.qc.cuny.edu http://vision.cs.qc.cuny.edu/huang/python-2012f/ Logistics Lectures: TTh 9:25-10:40 am SB B-141 Personnel Instructor
More informationCS1 Lecture 3 Jan. 22, 2018
CS1 Lecture 3 Jan. 22, 2018 Office hours for me and for TAs have been posted, locations will change check class website regularly First homework available, due Mon., 9:00am. Discussion sections tomorrow
More informationPYTHON PROGRAMMING FOR ENGINEERS AND SCIENTISTS
PYTHON PROGRAMMING FOR ENGINEERS PDF PYTHON (PROGRAMMING LANGUAGE) - WIKIPEDIA PYTHON FOR ENGINEERS 1 / 6 2 / 6 3 / 6 python programming for engineers pdf Python is an interpreted, high-level, general-purpose
More informationWinter 2019 CISC101 1/17/2019
CISC101 Reminders Today TA emails are listed on the Labs page of the course web site. More assignments are posted. Commanding the CPU the use of a Stack. Computer Languages History of Python. Features
More informationXcode and Swift CS 4720 Mobile Application Development
Xcode and Swift Mobile Application Development Why Java for Android? Let s first recap: why do you think Android uses Java? 2 Why Java for Android? Some good reasons: You can t find a CS major that doesn
More informationOperating Systems. 18. Remote Procedure Calls. Paul Krzyzanowski. Rutgers University. Spring /20/ Paul Krzyzanowski
Operating Systems 18. Remote Procedure Calls Paul Krzyzanowski Rutgers University Spring 2015 4/20/2015 2014-2015 Paul Krzyzanowski 1 Remote Procedure Calls 2 Problems with the sockets API The sockets
More informationScripting Languages TCL: Tool Command Language
History: Scripting Languages TCL: Tool Command Language 1987 Dr John Ousterhout plays with the idea of creating an embeddable command language so that all his little tools have the same language. Wanted
More informationComputer Components. Software{ User Programs. Operating System. Hardware
Computer Components Software{ User Programs Operating System Hardware What are Programs? Programs provide instructions for computers Similar to giving directions to a person who is trying to get from point
More informationPrinciples of Programming Languages. Lecture Outline
Principles of Programming Languages CS 492 Lecture 1 Based on Notes by William Albritton 1 Lecture Outline Reasons for studying concepts of programming languages Programming domains Language evaluation
More informationIntroduction to Programming
Introduction to Programming Computers and Programs Python Programming, 1/e 1 The Universal Machine What is a computer program? A detailed, step-by-step set of instructions telling a computer what to do.
More informationSemantic Analysis. Lecture 9. February 7, 2018
Semantic Analysis Lecture 9 February 7, 2018 Midterm 1 Compiler Stages 12 / 14 COOL Programming 10 / 12 Regular Languages 26 / 30 Context-free Languages 17 / 21 Parsing 20 / 23 Extra Credit 4 / 6 Average
More informationSymbol Tables Symbol Table: In computer science, a symbol table is a data structure used by a language translator such as a compiler or interpreter, where each identifier in a program's source code is
More informationCS 360 Programming Languages Interpreters
CS 360 Programming Languages Interpreters Implementing PLs Most of the course is learning fundamental concepts for using and understanding PLs. Syntax vs. semantics vs. idioms. Powerful constructs like
More informationAn Introduction to Computers and Java CSC 121 Spring 2015 Howard Rosenthal
An Introduction to Computers and Java CSC 121 Spring 2015 Howard Rosenthal Lesson Goals Learn the basic terminology of a computer system Understand the basics of high level languages, including java Understand
More informationThe current topic: Python. Announcements. Python. Python
The current topic: Python Announcements! Introduction! reasons for studying languages! language classifications! simple syntax specification Object-oriented programming: Python Types and values Syntax
More informationPython for Non-programmers
Python for Non-programmers A Gentle Introduction 1 Yann Tambouret Scientific Computing and Visualization Information Services & Technology Boston University 111 Cummington St. yannpaul@bu.edu Winter 2013
More informationCPS122 Lecture: From Python to Java last revised January 4, Objectives:
Objectives: CPS122 Lecture: From Python to Java last revised January 4, 2017 1. To introduce the notion of a compiled language 2. To introduce the notions of data type and a statically typed language 3.
More informationGNU Radio Technical Update
GNU Radio Technical Update Johnathan Corgan GRCON17 GRCON17 GNU GNU Radio Radio Technical Technical Update Update September September 2017 2017 Topics Release 3.8 Features and capabilities Milestones and
More informationOOP and Scripting in Python
DIEE - Università degli Studi di Cagliari OOP and Scripting in Python Introduction Giuliano Armano DIEE Univ. di Cagliari Python Roots... Object Oriented Programming (C++, Modula-3, ABC, Icon) Scripting
More informationEECS 282 Information Systems Design and Programming. Atul Prakash Professor, Computer Science and Engineering University of Michigan
EECS 282 Information Systems Design and Programming Atul Prakash Professor, Computer Science and Engineering University of Michigan 1 What is the Course About? A second programming course - but different
More informationComponent V Supporting Materials / Learn More Interesting Facts. Interesting Facts
Component V Supporting Materials / Learn More 1.4.1 Interesting Facts No. Interesting Facts 1. All computers operate by following machine language programs. 2. Machine language programs are long sequence
More informationIntroduction to Python Part 2
Introduction to Python Part 2 v0.2 Brian Gregor Research Computing Services Information Services & Technology Tutorial Outline Part 2 Functions Tuples and dictionaries Modules numpy and matplotlib modules
More informationCS1 Lecture 3 Jan. 18, 2019
CS1 Lecture 3 Jan. 18, 2019 Office hours for Prof. Cremer and for TAs have been posted. Locations will change check class website regularly First homework assignment will be available Monday evening, due
More informationIntroduction to Python
Islamic University Of Gaza Faculty of Engineering Computer Engineering Department Lab 1 Introduction to Python Eng. Ibraheem Lubbad September 17, 2016 Introduction: Python is a high-level, object-oriented
More informationObjective: To learn meaning and concepts of programming. Outcome: By the end of this students should be able to describe the meaning of programming
30 th September 2018 Objective: To learn meaning and concepts of programming Outcome: By the end of this students should be able to describe the meaning of programming Section 1: What is a programming
More informationPython Programming, bridging course 2011
Python Programming, bridging course 2011 About the course Few lectures Focus on programming practice Slides on the homepage No course book. Using online resources instead. Online Python resources http://www.python.org/
More informationNotes from a Short Introductory Lecture on Scala (Based on Programming in Scala, 2nd Ed.)
Notes from a Short Introductory Lecture on Scala (Based on Programming in Scala, 2nd Ed.) David Haraburda January 30, 2013 1 Introduction Scala is a multi-paradigm language that runs on the JVM (is totally
More informationEclipse 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 informationHello World! Computer Programming for Kids and Other Beginners. Chapter 1. by Warren Sande and Carter Sande. Copyright 2009 Manning Publications
Hello World! Computer Programming for Kids and Other Beginners by Warren Sande and Carter Sande Chapter 1 Copyright 2009 Manning Publications brief contents Preface xiii Acknowledgments xix About this
More informationPrinceton University. Computer Science 217: Introduction to Programming Systems. Data Types in C
Princeton University Computer Science 217: Introduction to Programming Systems Data Types in C 1 Goals of C Designers wanted C to: Support system programming Be low-level Be easy for people to handle But
More informationScientific Computing
Scientific Computing Martin Lotz School of Mathematics The University of Manchester Lecture 1, September 22, 2014 Outline Course Overview Programming Basics The C++ Programming Language Outline Course
More informationCS 240 Fall Mike Lam, Professor. Just-for-fun survey:
CS 240 Fall 2014 Mike Lam, Professor Just-for-fun survey: http://strawpoll.me/2421207 Today Course overview Course policies Python Motivation Computers are digital Data is stored in binary format (1's
More informationRunning a C program Compilation Python and C Variables and types Data and addresses Functions Performance. John Edgar 2
CMPT 125 Running a C program Compilation Python and C Variables and types Data and addresses Functions Performance John Edgar 2 Edit or write your program Using a text editor like gedit Save program with
More informationIntro. Scheme Basics. scm> 5 5. scm>
Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if
More informationStop coding Pascal. Saturday, April 6, 13
Stop coding Pascal...emotional sketch about past, present and future of programming languages, Python, compilers, developers, Life, Universe and Everything Alexey Kachayev CTO at KitApps Inc. Open source
More informationITC213: STRUCTURED PROGRAMMING. Bhaskar Shrestha National College of Computer Studies Tribhuvan University
ITC213: STRUCTURED PROGRAMMING Bhaskar Shrestha National College of Computer Studies Tribhuvan University Lecture 03: Program Development Life Cycle Readings: Not Covered in Textbook Program Development
More informationassembler Machine Code Object Files linker Executable File
CSCE A211 Programming Intro What is a Programming Language Assemblers, Compilers, Interpreters A compiler translates programs in high level languages into machine language that can be executed by the computer.
More informationSTEAM Clown & Productions Copyright 2017 STEAM Clown. Page 1
What to add next time you are updating these slides Update slides to have more animation in the bullet lists Verify that each slide has stand alone speaker notes Page 1 Python 3 Introduction A Python class
More informationOverview. Rationale Division of labour between script and C++ Choice of language(s) Interfacing to C++
Scripting 1 Overview Rationale Division of labour between script and C++ Choice of language(s) Interfacing to C++ Rationale C++ isn't the best choice for all problems Complicated feature set, syntax Low-level,
More informationChapter 2. Operating-System Structures
Chapter 2 Operating-System Structures 2.1 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System
More informationDSC 201: Data Analysis & Visualization
DSC 201: Data Analysis & Visualization Python and Notebooks Dr. David Koop Computer-based visualization systems provide visual representations of datasets designed to help people carry out tasks more effectively.
More informationINTRODUCTION. 2
1 INTRODUCTION It is of no secret that Android is loved by millions of people around the world. Created and developed by Google, it would be most developers dream job. That being said, there are a lot
More informationAccelerating Information Technology Innovation
Accelerating Information Technology Innovation http://aiti.mit.edu/program/philippines-summer-2012/ Philippines Summer 2012 Lecture 1 Introduction to Python June 19, 2012 Agenda About the Course What is
More informationVariables and Data Representation
You will recall that a computer program is a set of instructions that tell a computer how to transform a given set of input into a specific output. Any program, procedural, event driven or object oriented
More informationCS 231 Data Structures and Algorithms, Fall 2016
CS 231 Data Structures and Algorithms, Fall 2016 Dr. Bruce A. Maxwell Department of Computer Science Colby College Course Description Focuses on the common structures used to store data and the standard
More informationOverview of the Ruby Language. By Ron Haley
Overview of the Ruby Language By Ron Haley Outline Ruby About Ruby Installation Basics Ruby Conventions Arrays and Hashes Symbols Control Structures Regular Expressions Class vs. Module Blocks, Procs,
More informationCME 193: Introduction to Scientific Python Lecture 1: Introduction
CME 193: Introduction to Scientific Python Lecture 1: Introduction Nolan Skochdopole stanford.edu/class/cme193 1: Introduction 1-1 Contents Administration Introduction Basics Variables Control statements
More informationCS 31: Intro to Systems Binary Arithmetic. Martin Gagné Swarthmore College January 24, 2016
CS 31: Intro to Systems Binary Arithmetic Martin Gagné Swarthmore College January 24, 2016 Unsigned Integers Suppose we had one byte Can represent 2 8 (256) values If unsigned (strictly non-negative):
More informationIntroduction to computers and Python. Matthieu Choplin
Introduction to computers and Python Matthieu Choplin matthieu.choplin@city.ac.uk http://moodle.city.ac.uk/ 1 Objectives To get a brief overview of what Python is To understand computer basics and programs
More informationCase study on PhoneGap / Apache Cordova
Chapter 1 Case study on PhoneGap / Apache Cordova 1.1 Introduction to PhoneGap / Apache Cordova PhoneGap is a free and open source framework that allows you to create mobile applications in a cross platform
More informationWelcome to Python 3. Some history
Python 3 Welcome to Python 3 Some history Python was created in the late 1980s by Guido van Rossum In December 1989 is when it was implemented Python 3 was released in December of 2008 It is not backward
More informationChapter 1 Introduction
Chapter 1 Introduction Why I Am Writing This: Why I am I writing a set of tutorials on compilers and how to build them? Well, the idea goes back several years ago when Rapid-Q, one of the best free BASIC
More informationCS 370 The Pseudocode Programming Process D R. M I C H A E L J. R E A L E F A L L
CS 370 The Pseudocode Programming Process D R. M I C H A E L J. R E A L E F A L L 2 0 1 5 Introduction At this point, you are ready to beginning programming at a lower level How do you actually write your
More informationReversing. Time to get with the program
Reversing Time to get with the program This guide is a brief introduction to C, Assembly Language, and Python that will be helpful for solving Reversing challenges. Writing a C Program C is one of the
More informationA practicalintroduction to embedded programming. Brian Plancher 10/17/2018
A practicalintroduction to embedded programming Brian Plancher Brian_Plancher@g.harvard.edu 10/17/2018 This week s task is simple: 1. Since the boards you made 2 weeks ago are perfect and are still in
More informationRapid Application Development with
Rapid Application Development with Scripting: Higher Level Programming for the 21st Century (IEEE Computer, March 1998) http://home.pacbell.net/ouster/scripting.html python Scripting Languages vs. System
More informationCPS122 Lecture: From Python to Java
Objectives: CPS122 Lecture: From Python to Java last revised January 7, 2013 1. To introduce the notion of a compiled language 2. To introduce the notions of data type and a statically typed language 3.
More information1: Introduction to Object (1)
1: Introduction to Object (1) 김동원 2003.01.20 Overview (1) The progress of abstraction Smalltalk Class & Object Interface The hidden implementation Reusing the implementation Inheritance: Reusing the interface
More informationsemidbm Documentation
semidbm Documentation Release 0.4.0 James Saryerwinnie Jr September 04, 2013 CONTENTS i ii semidbm is a pure python implementation of a dbm, which is essentially a persistent key value store. It allows
More informationAnd Parallelism. Parallelism in Prolog. OR Parallelism
Parallelism in Prolog And Parallelism One reason that Prolog is of interest to computer scientists is that its search mechanism lends itself to parallel evaluation. In fact, it supports two different kinds
More informationIntroduction to: Computers & Programming: Review prior to 1 st Midterm
Introduction to: Computers & Programming: Review prior to 1 st Midterm Adam Meyers New York University Summary Some Procedural Matters Summary of what you need to Know For the Test and To Go Further in
More informationLaboratory 1: Eclipse and Karel the Robot
Math 121: Introduction to Computing Handout #2 Laboratory 1: Eclipse and Karel the Robot Your first laboratory task is to use the Eclipse IDE framework ( integrated development environment, and the d also
More informationProgramming: Computer Programming For Beginners: Learn The Basics Of Java, SQL & C Edition (Coding, C Programming, Java Programming, SQL
Programming: Computer Programming For Beginners: Learn The Basics Of Java, SQL & C++ - 3. Edition (Coding, C Programming, Java Programming, SQL Programming, JavaScript, Python, PHP) PDF PLEASE NOTE: You
More informationLecture 5: The Halting Problem. Michael Beeson
Lecture 5: The Halting Problem Michael Beeson Historical situation in 1930 The diagonal method appears to offer a way to extend just about any definition of computable. It appeared in the 1920s that it
More informationPart 4 CLASSES AS ABSTRACT DATA TYPES AND INTERFACE IMPLEMENTATION. Data Structures and Algorithms 31632
Part 4 CLASSES AS ABSTRACT DATA TYPES AND INTERFACE IMPLEMENTATION 1 ADT ABSTRACT DATA TYPE 2 Abstract Data Type (ADT) A programmer-defined data type that specifies a set of data values and a collection
More informationProgramming for Engineers in Python
Programming for Engineers in Python Lecture 13: Shit Happens Autumn 2011-12 1 Lecture 12: Highlights Dynamic programming Overlapping subproblems Optimal structure Memoization Fibonacci Evaluating trader
More informationLast Time. University of British Columbia CPSC 111, Intro to Computation Alan J. Hu. Readings
University of British Columbia CPSC 111, Intro to Computation Alan J. Hu Writing a Simple Java Program Intro to Variables Readings Your textbook is Big Java (3rd Ed). This Week s Reading: Ch 2.1-2.5, Ch
More informationChapter 2: Operating-System Structures. Operating System Concepts 9 th Edit9on
Chapter 2: Operating-System Structures Operating System Concepts 9 th Edit9on Silberschatz, Galvin and Gagne 2013 Chapter 2: Operating-System Structures 1. Operating System Services 2. User Operating System
More informationWhat is a programming language?
Overview Introduction Motivation Why study programming languages? Some key concepts What is a programming language? What is a programming language?...there is no agreement on what a programming language
More informationKickstart Intro to Java Part I
Kickstart Intro to Java Part I COMP346/5461 - Operating Systems Revision 1.6 February 9, 2004 1 Topics Me, Myself, and I Why Java 1.2.*? Setting Up the Environment Buzz about Java Java vs. C++ Basic Java
More informationProgramming (ERIM) Lecture 1: Introduction to programming paradigms and typing systems. Tommi Tervonen
Programming (ERIM) Lecture 1: Introduction to programming paradigms and typing systems Tommi Tervonen Econometric Institute, Erasmus School of Economics Course learning objectives After this course, you
More informationCS 112 Introduction to Computing II. Wayne Snyder Computer Science Department Boston University
CS 112 Introduction to Computing II Wayne Snyder Department Boston University Today: Java basics: Compilation vs Interpretation Program structure Statements Values Variables Types Operators and Expressions
More informationExercises: Instructions and Advice
Instructions Exercises: Instructions and Advice The exercises in this course are primarily practical programming tasks that are designed to help the student master the intellectual content of the subjects
More informationIf Statements, For Loops, Functions
Fundamentals of Programming If Statements, For Loops, Functions Table of Contents Hello World Types of Variables Integers and Floats String Boolean Relational Operators Lists Conditionals If and Else Statements
More information