This is the code repository for Python Essentials, published by Packt.
Modernize existing Python code and plan code migrations to Python using this definitive guide
Python Essentials provides a vital tour of the most critical features of Python. Starting with setup and installation, you will soon dive into exploring built-in-library types, Python's rich collection of operators and built-in functions, variables, assignment and scoping rules.
This book covers the following exciting features:
- Use Python interactively and master the art of writing efficient Python scripts
- Learn techniques for working with string data, including how to use regular expressions to parse strings
- Get to know how the short-circuit and if-else logic operators work
- Explore mutable data structures including list, set, and dict
- Define functions with positional and optional parameters, and learn to use keyword argument values when calling a function
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
def prod(sequence):
p= 1
for item in sequence:
p *= item
return p
Steven F. Lott has been programming since the 70s, when computers were large, expensive, and rare. As a contract software developer and architect, he has worked on hundreds of projects, from very small to very large. He's been using Python to solve business problems for over 10 years.
He's particularly adept at struggling with thorny data representation problems.
He has also authored Mastering Object-oriented Python by Packt Publishing.
He is currently a technomad who lives in various places on the east coast of the US. His technology blog can be found at http://slott-softwarearchitect.blogspot.com.
Mastering Object-oriented Python
Modern Python Solutions Part 1 [Video]
Modern Python Solutions - Part 2 [Video]
Functional Python Programming - Second Edition
Click here if you have any feedback or suggestions.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.