Modern Python Solutions Part 1 [Video]

Modern Python Solutions Part 1 [Video]

Steven F. Lott

The latest in modern Python recipes for the busy modern programmer covering the essential fundamentals of Python Programming
Mapt Subscription
FREE
€29.98/m after trial
Video
€121.38
RRP €142.78
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€121.38
€29.98p/m after trial
RRP €142.78
Subscription
Video
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Code Files
Preview in Mapt

Video Details

ISBN 139781787284517
Course Length5 hours 04 minutes

Video Description

Python is the preferred choice of developers, engineers, data scientists, and hobbyists everywhere. It is a great scripting language that can power your applications and provide great speed, safety, and scalability. By exposing Python as a series of simple recipes, you can gain insight into specific language features in a particular context. Having a tangible context helps make the language or standard library feature easier to understand.This video comes with over 100 recipes on the latest version of Python. The recipes will benefit everyone ranging from beginner to an expert. The video is broken down into 13 sections that build from simple language concepts to more complex applications of the language.The recipes will touch upon all the necessary Python concepts related to data structures, OOP, functional programming, as well as statistical programming. You will get acquainted with the nuances of Python syntax and how to effectively use the advantages that it offers. You will end the book equipped with the knowledge of testing, web services, and configuration and application integration tips and tricks.The recipes take a problem-solution approach to resolve issues commonly faced by Python programmers across the globe. You will be armed with the knowledge of creating applications with flexible logging, powerful configuration, and command-line options, automated unit tests, and good documentation.

Style and Approach

This video takes a recipe-based approach, where each recipe addresses specific problems and issues. The recipes provide discussions and insights and an explanation of the problems.

Table of Contents

Numbers, Strings, and Tuples
The Course Overview
Creating Meaningful Names and Using Variables
Working with Large and Small Integers
Choosing between Float, Decimal, and Fraction\
Choosing between True Division and Floor Division
Rewriting an Immutable String
String Parsing with Regular Expressions
Building Complex Strings with “template”.format()
Building Complex Strings from Lists of Characters
Using the Unicode Characters that aren't on Our Keyboards
Encoding Strings-Creating ASCII and UTF8 Bytes
Decoding Bytes, How to Get Proper Characters from Some Bytes
Using Tuples of Items
Statements and Syntax
Writing Python Script and Module Files
Writing Long Lines of Code
Including Descriptions and Documentation
Writing Better RST Markup in docstring
Designing Complex if…elif Chains
Designing a While Statement that Terminates Properly
Avoiding a Potential Problem with Break Statements
Leveraging the Exception Matching Rules
Avoiding a Potential Problem With an Except:Clause
Chaining Exceptions with the Raise from Statement
Managing a Context Using the With Statement
Function Definitions
Designing Functions with Optional Parameters
Using Super Flexible Keyword Parameter
Forcing Keyword-only Argument with the * Separator
Writing Explicit Types on Function Parameters
Picking an Order for Parameters Based on Partial Functions
Writing Clear Documentation Strings
Designing Recursive Functions Around Python’s Stack Limit
Writing Reusable Script with the Script Library Switch
Built-in Data Structures – List, Sets, and Dict
Choosing a Data Structure
Building Lists – Literals, Appending, and Comprehensions
Slicing And Dicing a List
Deleting From a List
Reversing a Copy of a List
Using Set Methods and Operators
Removing Items from a Set
Creating Dictionaries
Removing from Dictionaries
Controlling the Order of the Dict Keys
Handling Dictionaries and Sets in doctest Examples
Understanding Variables, References, and Assignment
Making Shallow and Deep Copies of Objects
Avoiding Mutable Default Values for Function Parameters
User Inputs and Outputs
Using Features of the print() Functions
Using input() and getpass() for User Input
Debugging with “Format”.Format_Map(Vars())
Using Argparse to Get Command-line Input
Using CMD for Creating Command-line Applications
Using the OS Environment Settings

What You Will Learn

  • See the intricate details of the Python syntax and how to use it to your advantage
  • Improve your code readability through functions in Python
  • Manipulate data effectively using built-in data structures
  • Get acquainted with advanced programming techniques in Python
  • Equip yourself with functional and statistical programming features
  • Write proper tests to be sure a program works as advertised
  • Integrate application software using Python

Authors

Table of Contents

Numbers, Strings, and Tuples
The Course Overview
Creating Meaningful Names and Using Variables
Working with Large and Small Integers
Choosing between Float, Decimal, and Fraction\
Choosing between True Division and Floor Division
Rewriting an Immutable String
String Parsing with Regular Expressions
Building Complex Strings with “template”.format()
Building Complex Strings from Lists of Characters
Using the Unicode Characters that aren't on Our Keyboards
Encoding Strings-Creating ASCII and UTF8 Bytes
Decoding Bytes, How to Get Proper Characters from Some Bytes
Using Tuples of Items
Statements and Syntax
Writing Python Script and Module Files
Writing Long Lines of Code
Including Descriptions and Documentation
Writing Better RST Markup in docstring
Designing Complex if…elif Chains
Designing a While Statement that Terminates Properly
Avoiding a Potential Problem with Break Statements
Leveraging the Exception Matching Rules
Avoiding a Potential Problem With an Except:Clause
Chaining Exceptions with the Raise from Statement
Managing a Context Using the With Statement
Function Definitions
Designing Functions with Optional Parameters
Using Super Flexible Keyword Parameter
Forcing Keyword-only Argument with the * Separator
Writing Explicit Types on Function Parameters
Picking an Order for Parameters Based on Partial Functions
Writing Clear Documentation Strings
Designing Recursive Functions Around Python’s Stack Limit
Writing Reusable Script with the Script Library Switch
Built-in Data Structures – List, Sets, and Dict
Choosing a Data Structure
Building Lists – Literals, Appending, and Comprehensions
Slicing And Dicing a List
Deleting From a List
Reversing a Copy of a List
Using Set Methods and Operators
Removing Items from a Set
Creating Dictionaries
Removing from Dictionaries
Controlling the Order of the Dict Keys
Handling Dictionaries and Sets in doctest Examples
Understanding Variables, References, and Assignment
Making Shallow and Deep Copies of Objects
Avoiding Mutable Default Values for Function Parameters
User Inputs and Outputs
Using Features of the print() Functions
Using input() and getpass() for User Input
Debugging with “Format”.Format_Map(Vars())
Using Argparse to Get Command-line Input
Using CMD for Creating Command-line Applications
Using the OS Environment Settings

Video Details

ISBN 139781787284517
Course Length5 hours 04 minutes
Read More

Read More Reviews

Recommended for You

Modern Python Solutions - Part 3 [Video] Book Cover
Modern Python Solutions - Part 3 [Video]
€ 142.78
€ 121.38
Modern Python Solutions - Part 2 [Video] Book Cover
Modern Python Solutions - Part 2 [Video]
€ 142.78
€ 121.38
Python Machine Learning - Part 1 [Video] Book Cover
Python Machine Learning - Part 1 [Video]
€ 142.78
€ 121.38
Linux Networking Solutions - Part 1 [Video] Book Cover
Linux Networking Solutions - Part 1 [Video]
€ 142.78
€ 121.38
Delphi Solutions - Part 1 [Video]  Book Cover
Delphi Solutions - Part 1 [Video]
€ 142.78
€ 121.38
Visual Studio 2015 Solutions - Part 1 [Video] Book Cover
Visual Studio 2015 Solutions - Part 1 [Video]
€ 142.78
€ 121.38