Python Joseph Eckstrom, Benjamin Moore, Willis Kornegay.

Slides:



Advertisements
Similar presentations
In Review JAVA C++ GUIs - Windows Webopedia.com.
Advertisements

Python Hyunjong Lee. contents  Introduction  Syntax & data types  Tools  Python as CGI.
‘And Now For Something Completely Different’ Python Programming David Hartwell Clements.
Chapter 3.2 C++, Java, and Scripting Languages. 2 C++ C used to be the most popular language for games Today, C++ is the language of choice for game development.
Chapter 3.2 C++, Java, and Scripting Languages “The major programming languages used in game development.”
Python Henry Armstrong Andy Burras Everett Hite. History First released in 1991 by Guido van Rossum Designed around a philosophy which emphasized readability.
Python By Steve Wright. What is Python? Simple, powerful, GP scripting language Simple, powerful, GP scripting language Object oriented Object oriented.
Ruby The Gem of new programming languages. An interpreted scripting language.
Python Jordan Miller and Lauren Winkleman CS 311 Fall 2011.
By Logan Phipps Hal student.  This power point explains some common programming languages enjoy  When done click on the home button to return to home.
The Python Programming Language Matt Campbell | Steve Losh.
Lecture 1: Overview of Java. What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++ Designed.
Python Introduction.
JAVA v.s. C++ Programming Language Comparison By LI LU SAMMY CHU By LI LU SAMMY CHU.
COBOL, LISP, and Python Joseph Hoeppner. COBOL Background  Released in 1959  Grace Hopper  Industry, universities, and government collaboration  Cold.
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
V Avon High School Tech Club Agenda Old Business –Delete Files New Business –Week 18 Topics: Intro to HTML/CSS: Questions? Summer Work Letter.
C++ Programming. Table of Contents History What is C++? Development of C++ Standardized C++ What are the features of C++? What is Object Orientation?
Intro to Python Programming (Introduction) Pamela A. Moore Zenia C. Bahorski Eastern Michigan University March 7, 2012 A language to swear by, not at.
BIT 1003 – Presentation 7. Contents GENERATIONS OF LANGUAGES COMPILERS AND INTERPRETERS VIRTUAL MACHINES OBJECT-ORIENTED PROGRAMMING SCRIPTING LANGUAGES.
Computer Science 111 Fundamentals of Programming I Overview of Programming.
Python 0 Some material adapted from Upenn cmpe391 slides and other sources.
1 Python CIS*2450 Advanced Programming Concepts Material for this lecture was developed by Dr. D. Calvert.
Programming language A programming language is an artificial language designed to communicate instructions to a machine,languageinstructionsmachine particularly.
Introduction and Features of Java. What is java? Developed by Sun Microsystems (James Gosling) A general-purpose object-oriented language Based on C/C++
Introduction to C++ Programming Language
An Introduction to Python Blake Brogdon. What is Python?  Python is an interpreted, interactive, object-oriented programming language. (from python.org)
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
Python. By Jawad. What Is Python? Python is an open-source object-orientated scripting language. Python is good for embedding snippets to run a program.
Python – May 11 Briefing Course overview Introduction to the language Lab.
Intro to Python Adriane Huber Debbie Bartlett Python Lab #1Python Lab #1 1.
C463 / B551 Artificial Intelligence Dana Vrajitoru Python.
Intro to Python Programming (Part 1) Pamela Moore Zenia Bahorski Eastern Michigan University March 16, 2011 A language to swear by, not at.
Python. History of python  Python was conceived in the late 1980s and its implementation was started in December 1989 by Guido van Rossum at CWI in the.
Python Basics. 2 Python History Late 1970s: programming language called ABC at the Centrum voor Wiskunde en Informatica in the Netherlands Audience included.
Unit 1 Basic Python programs, functions Special thanks to Roy McElmurry, John Kurkowski, Scott Shawcroft, Ryan Tucker, Paul Beck for their work. Except.
Programming for GCSE 1.0 Beginning with Python T eaching L ondon C omputing Margaret Derrington KCL Easter 2014.
Introduction to Python Origins Nature of Python Importance of Python Example.
What is Python Programming Language?
Python for: Data Science. Python  Python is an open source scripting language.  Developed by Guido Van Rossum in late 1980s  Named after Monty Python.
Python Basics Tom LeFebvre. Sept , 2002Python Basics2 Python Language Very High-Level Language Scripting Language (no compiling) Simple syntax Easy.
Language Implementation Methods David Woolbright.
Overview of Python Eric Finkenbiner David J. Stucki.
Department of Electronic & Electrical Engineering Introduction to C - The Development cycle. Why C? The development cycle. Using Visual Studio ? A simple.
 A readable, dynamic, pleasant,  flexible, fast and powerful language Introduction to Python.
Winter 2016CISC101 - Prof. McLeod1 Today Go over the Python disassembly “experiment” again. Code interpretation vs. code compilation. History and features.
Python Programming Language by Vasu Chetty. Origins of Python Created by: Guido van Rossum, a Dutch Programmer Created during: Christmas Break, 1989 Created.
Machine Language Computer languages cannot be directly interpreted by the computer – they are not in binary. All commands need to be translated into binary.
Presented By P.SRIVIDYA 085D1A0552 Programming Language.
Python Programming Unit -1.
Programming For Big Data
Top 8 Best Programming Languages To Learn
UMBC CMSC 104 – Section 01, Fall 2016
A Python Tour: Just a Brief Introduction
Before You Begin Nahla Abuel-ola /WIT.
Scope History of Ruby. Where can you use Ruby? General Features.
Chapter 1 Reasons to study concepts of PLs Programming Domains
1.1 Reasons to study concepts of PLs
Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during.
Introduction Enosis Learning.
1 Python Lab #1 Intro to Python Adriane Huber Debbie Bartlett.
Do you know this browser?...
CS 3304 Comparative Languages Fall 2011
Introduction Enosis Learning.
What Is a Program? A program is like an algorithm, but describes a process that is ready or can be made ready to run on a real computer Retrieved from:
Introduction to Python
CS 3304 Comparative Languages Fall 2011
Python Modules.
Python Basics. Topics Features How does Python work Basic Features I/O in Python Operators Control Statements Function/Scope of variables OOP Concepts.
Introduction to Computer Science
Presentation transcript:

Python Joseph Eckstrom, Benjamin Moore, Willis Kornegay

Overview Written to improve programmer productivity Python gives programmers the option to use object- oriented, structured or functional programming paradigms. Trades some speed for productivity In era of fast machines, acceptable

History Written at CWI, Netherlands, by Guido van Rossum Named BDFL, or “Benevolent Dictator for Life” by Python community Based on ABC, but ABC had drawbacks Monolithic design not adaptable Could not access file system or O.S.

Evolution Python 1.0 Classes, inheritance, functional programming Python 2.0 Garbage collection, list comprehensions, Haskell-like syntax Python 3.0 Refinement of existing features, overhauls to standard libraries

Language Concepts High level, interpreted language Supports multiple paradigms OO, Imperative, Functional No semicolons at the end of lines Blocks represented by indentations

Examples of Use – Lambda Functions >>> def make_incrementor (n): return lambda x: x + n... >>> f = make_incrementor(2) >>> g = make_incrementor(6) >>> print(f(42), g(42)) >>> print(make_incrementor(22)(23)) 45

Examples of Use – Lists >>> S = [x**2 for x in range(10)] >>> V = [2**i for i in range(13)] >>> M = [x for x in S if x % 2 ==0] >>> print(S); print(V); print(M) [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096] [0, 4, 16, 36, 64]

Examples of Use – Classes >>> class MyClass:...# A simple example class …i = …def f(self): …return “Hello, world.” … >>> x = Myclass() >>> x.f() Hello, world.

Comparison - Ruby Both imperative/functional, object oriented, & interpreted Python emphasizes a single best way, and features extensive standard libraries Ruby emphasizes elegant syntax & greater object-orientation

Comparison – C++ Both object-oriented, imperative languages C++ compiled to hardware native code; Python compiled to bytecode, executed by VM Both languages are flexible in terms of object- orientation.