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 ?
The official style guide to Python, contains many helpful programming tips ... 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}}}