Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Results Page:  Previous Next
Author Romano, Fabrizio, author.

Title Getting started with Python : understand key data structures and use Python in object-oriented programming / Fabrizio Romano, Benjamin Baka, Dusty Philips. [O'Reilly electronic resource]

Publication Info. Birmingham, UK : Packt Publishing, 2019.
QR Code
Description 1 online resource : illustrations
Series Learning path
Learning path.
Contents Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Chapter 1: A Gentle Introduction to Python; A proper introduction; Enter the Python; About Python; Portability; Coherence; Developer productivity; An extensive library; Software quality; Software integration; Satisfaction and enjoyment; What are the drawbacks?; Who is using Python today?; Setting up the environment; Python 2 versus Python 3; Installing Python; Setting up the Python interpreter; About virtualenv; Your first virtual environment; Your friend, the console
How you can run a Python programRunning Python scripts; Running the Python interactive shell; Running Python as a service; Running Python as a GUI application; How is Python code organized?; How do we use modules and packages?; Python's execution model; Names and namespaces; Scopes; Objects and classes; Guidelines on how to write good code; The Python culture; A note on IDEs; Summary; Chapter 2: Built-in Data Types; Everything is an object; Mutable or immutable? That is the question; Numbers; Integers; Booleans; Real numbers; Complex numbers; Fractions and decimals; Immutable sequences
Strings and bytesEncoding and decoding strings; Indexing and slicing strings; String formatting; Tuples; Mutable sequences; Lists; Byte arrays; Set types; Mapping types -- dictionaries; The collections module; namedtuple; defaultdict; ChainMap; Enums; Final considerations; Small values caching; How to choose data structures; About indexing and slicing; About the names; Summary; Chapter 3: Iterating and Making Decisions; Conditional programming; A specialized else -- elif; The ternary operator; Looping; The for loop; Iterating over a range; Iterating over a sequence; Iterators and iterables
Iterating over multiple sequencesThe while loop; The break and continue statements; A special else clause; Putting all this together; A prime generator; Applying discounts; A quick peek at the itertools module; Infinite iterators; Iterators terminating on the shortest input sequence; Combinatoric generators; Summary; Chapter 4: Functions, the Building Blocks of Code; Why use functions?; Reducing code duplication; Splitting a complex task; Hiding implementation details; Improving readability; Improving traceability; Scopes and name resolution; The global and nonlocal statements
Input parametersArgument passing; Assignment to argument names doesn't affect the caller; Changing a mutable affects the caller; How to specify input parameters; Positional arguments; Keyword arguments and default values; Variable positional arguments; Variable keyword arguments; Keyword-only arguments; Combining input parameters; Additional unpacking generalizations; Avoid the trap! Mutable defaults; Return values; Returning multiple values; A few useful tips; Recursive functions; Anonymous functions; Function attributes; Built-in functions; One final example; Documenting your code
Summary This Learning Path is a thorough and practical introduction to Python. You will learn all about Python data structures, its most common algorithms, and its objects, and use all these to create clever applications that will transform your business.
Subject Python (Computer program language)
Application software -- Development.
Python (Langage de programmation)
Logiciels d'application -- Développement.
Application software -- Development
Python (Computer program language)
Added Author Baka, Benjamin, author.
Philips, Dusty, author.
Other Form: Print version: Romano, Fabrizio. Getting Started with Python : Understand Key Data Structures and Use Python in Object-Oriented Programming. Birmingham : Packt Publishing Ltd, ©2019 9781838551919
ISBN 1838559981
9781838559984 (electronic bk.)
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information