Transcription of Introduction to Python - seas.upenn.edu
{{id}} {{{paragraph}}}
Introduction to Programming Languages and TechniquesFULL Python TUTORIALLast updated 9/1 Developed by Guido van Rossumin the early 1990s Named after Monty Python Available on eniac Available for download from Python Tutorial3 Python Interpretedlanguage: work with an evaluator for language expressions (like DrJava, but more flexible) Dynamically typed: variables do not have a predefined type Rich, built-in collection types: Lists Tuples Dictionaries (maps) Sets Concise4 Language features Indentation instead of braces Several sequence types Strings .. : made of characters, immutable Lists [..]: made of anything, mutable Tuples(..): made of anything, immutable Powerful subscripting (slicing) Functions are independent entities (not all functions are methods) Exceptions as in Java Simple object system Iterators(like Java) and generators5 Why Python ?
LEARN PYTHON BY PLAYING WITH EXAMPLES FROM THE SLIDES & MAKING UP YOUR OWN ... Basic Datatypes ... Python determines the type of the reference automatically based on what data is assigned to it. 23 (Multiple Assignment)
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}
Primer on Scientific Programming with Python, Examples, Python, Basic, A Comparison of the Syntax of Python, Praise for Effective Python, Basic Python, Basic Python by examples, Python in labeling and field calculations, Basic Plotting with Python and Matplotlib, 2: Basic Ladder Logic Programming, 3 Pseudocode, Flowcharts and Python