Look Ma, No types Prasan Samtani

Slides:



Advertisements
Similar presentations
10/09/1999© 1999 CNRI, Guido van Rossum 1 Computer Programming for Everybody Guido van Rossum CNRI (Corporation for National Research Initiatives, Reston,
Advertisements

‘And Now For Something Completely Different’ Python Programming David Hartwell Clements.
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.
Introduction to Python John Alexis Guerra Gómez CMSC433 Spring 2010 University of Maryland.
Python Brandon Jeffcoat Dashaun West “Why settle for snake oil when you can have the whole snake?” -- From Usenet posting by Mark Jackson, June 1998.
Python Jordan Miller and Lauren Winkleman CS 311 Fall 2011.
Scripting Languages CS351 – Programming Paradigms.
Compilers and Interpreters. Translation to machine language Every high level language needs to be translated to machine code There are different ways.
1 Outline 7.1 Introduction 7.2 Implementing a Time Abstract Data Type with a Class 7.3 Special Attributes 7.4Controlling Access to Attributes 7.4.1Get.
The Python Programming Language Matt Campbell | Steve Losh.
CSC 9010: Natural Language Processing
Introduction to Python: Slides Referenced in Homework 0 CSE-391: Artificial Intelligence University of Pennsylvania Matt Huenerfauth January 2005.
Python Introduction.
CSC 110 A 1 CSC 110 Introduction to Python [Reading: chapter 1]
Programming 101 with Python: an open-source, cross-platform, and fun language By J. Burton Browning, Ed.D. Copyright © J. Burton Browning All rights reserved.
Intro to Python Programming (Introduction) Pamela A. Moore Zenia C. Bahorski Eastern Michigan University March 7, 2012 A language to swear by, not at.
Session 2 Wharton Summer Tech Camp 1: Basic Python 2: Start Regex.
SI 2007 Game Programming Presented by: Xiaojing Wu, Greg Condit, Shawn Wang, Jeff Graetz, Richard Georgeoff, Dom Labanowski The Panda Squad Led By: Pete.
The Python Language Petr Přikryl Part I Socrates IP, 15th June 2004 TU of Brno, FIT, Czech Republic.
Computer Science 111 Fundamentals of Programming I Overview of Programming.
1 Python CIS*2450 Advanced Programming Concepts Material for this lecture was developed by Dr. D. Calvert.
Introduction to PythonIntroduction to Python SPARCS `08 서우석 (pipoket) `09 Summer SP ARCS Seminar`09 Summer SP ARCS Seminar.
The Python Programming Language Jeff Myers Programming Language Concepts, 01/14/2002
Ruby. Who am I? 1- Bunlong Van 2- Sreyleap Lay, 3- Chhon Meily Blog:
August 29, 2005ICP: Chapter 1: Introduction to Python Programming 1 Introduction to Computer Programming Chapter 1: Introduction to Python Programming.
The First Pune Python meet organized by PythonThreads.com The First Pune Python meet organized by PythonThreads.com What is it? Python is a Free, Open.
A very basic overview of Server-Side Scripting Or what is PHP, Perl, Python, Ruby and what can they do for me?
Guide to Programming with Python Chapter One Getting Started: The Game Over 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.
Getting Started with Python: Constructs and Pitfalls Sean Deitz Advanced Programming Seminar September 13, 2013.
Introducing Python CS 4320, SPRING Resources We will be following the Python tutorialPython tutorial These notes will cover the following sections.
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.
Guide to Linux Installation and Administration, 2e1 Chapter 11 Using Advanced Administration Techniques.
Introduction to Python Damian Gordon. The Python Programming Language Python was developed by Guido van Rossum in the Netherlands in Van Rossum.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1: Introduction.
ECET – Dynamic Programming with Python Spring 2013 Lecture L1 – Introduction to Python Page 1 Welcome! This is Professor Jai P. Agrawal. I will walk.
PHP vs. Python. Similarities are interpreted, high level languages with dynamic typing are Open Source are supported by large developer communities are.
Python Dr. Maury Eggen Fall Introduction #!/usr/bin/python python is interpreted python is not strongly typed python allows multiple assignments.
Productive Laziness with Python Programmability in SPSS Albert-Jan Roskam, PhD. Statistics Netherlands (CBS) ASSESS – York UK - October.
 A readable, dynamic, pleasant,  flexible, fast and powerful language Introduction to Python.
Computer Program Flow Control structures determine the order of instruction execution: 1. sequential, where instructions are executed in order 2. conditional,
Python Programming Language by Vasu Chetty. Origins of Python Created by: Guido van Rossum, a Dutch Programmer Created during: Christmas Break, 1989 Created.
PROBLEM SOLVING WARM-UP Fill in the spaces using any operation to solve the following (!, (), -/+,÷,×): = 6.
IT IS THE HELP GUIDE FOR BEGINNERS WHO ARE CONFUSE THAT WHY THEY SHOULD CHOOSE PYTHON BY SOFTCRAYONS. Why Python Is Good carrier Choice.
Python Programming Unit -1.
Programming For Big Data
CST 1101 Problem Solving Using Computers
NOCTI Study Guide #2.
Introduction Python is an interpreted, object-oriented and high-level programming language, which is different from a compiled one like C/C++/Java. Its.
Lesson 1 An Introduction
Python Training in Chennai
Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during.
Training on Real-time project With 100 % assistance support Training by IT professionals Trainers have 5+ years experience
Henning Schulzrinne Advanced Programming
1 Python Lab #1 Intro to Python Adriane Huber Debbie Bartlett.
Do you know this browser?...
Introduction to Python programming
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
Introduction to programming with Python
Building Raspberry Pi Controllers with Python
Introduction to Programming
12th Computer Science – Unit 5
Chapter 1: Programming Basics, Python History and Program Components
Python Basics. Topics Features How does Python work Basic Features I/O in Python Operators Control Statements Function/Scope of variables OOP Concepts.
Some thoughts on scripting languages
Python is a popular programming language. It was created by Guido van Rossum, and released in It is an interpreted, interactive, object-oriented.
Presentation transcript:

Look Ma, No types Prasan Samtani

Topics  What is Python?  Language Basics  Advanced Features  Why use scripting?  Application to game development  Master Yoda’s wisdom

What is python?  Extremely high-level, object oriented language  Designed by Guido Van Rossum in 1990  Named after the BBC comedy series ‘Monty Python’  Interpreted, dynamically yet strongly typed

Language Basics  Editing Python Interactive mode Interactive mode Non-interactive mode Non-interactive mode  Basic Blocks  Strings and string operations Split Split Splice Splice  Lists

Advanced Features  Tuples  Lambda Forms  Dictionaries  Serialization ‘pickle’ ‘pickle’ ‘dbm’ ‘dbm’

Why use scripting?  Rapid Development  Easier for novice programmers to learn  Why use Python? Availability of libraries Availability of libraries TkinterTkinter Examples: MyFirstGUI.py, ConfigurationManager.py Examples: MyFirstGUI.py, ConfigurationManager.py Binding to C/C++ Binding to C/C++ SWIGSWIG

Master Yoda’s wisdom EXTERIOR: DAGOBAH--DAY With Yoda strapped to his back, Luke climbs up one of the many thick vines that grow in the swamp until he reaches the Dagobah statistics lab. Panting heavily, he continues his exercises--grepping, installing new packages, logging in as root, and writing replacements for two-year-old shell scripts in Python. YODA: Code! Yes. A programmer's strength flows from code maintainability. But beware of Perl. Terse syntax... more than one way to do it... default variables. The dark side of code maintainability are they. Easily they flow, quick to join you when code you write. If once you start down the dark path, forever will it dominate your destiny, consume you it will. LUKE: Is Perl better than Python? YODA: No... no... no. Quicker, easier, more seductive. LUKE: But how will I know why Python is better than Perl? YODA: You will know. When your code you try to read six months from now.