Modern Python Solutions Part 1

Modern Python Solutions Part 1
Modern Python Solutions Part 1

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 5 Hours | 754 MB
eLearning | Skill level: All Levels


The latest in modern Python recipes for the busy modern programmer covering the essential fundamentals of Python Programming

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.

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
+ Table of Contents

Numbers, Strings, and Tuples
01 The Course Overview
02 Creating Meaningful Names and Using Variables
03 Working with Large and Small Integers
04 Choosing between Float, Decimal, and Fraction
05 Choosing between True Division and Floor Division
06 Rewriting an Immutable String
07 String Parsing with Regular Expressions
08 Building Complex Strings with “template”.format()
09 Building Complex Strings from Lists of Characters
10 Using the Unicode Characters that aren-t on Our Keyboards
11 Encoding Strings-Creating ASCII and UTF8 Bytes
12 Decoding Bytes, How to Get Proper Characters from Some Bytes
13 Using Tuples of Items

Statements and Syntax
14 Writing Python Script and Module Files
15 Writing Long Lines of Code
16 Including Descriptions and Documentation
17 Writing Better RST Markup in docstring
18 Designing Complex if…elif Chains
19 Designing a While Statement that Terminates Properly
20 Avoiding a Potential Problem with Break Statements
21 Leveraging the Exception Matching Rules
22 Avoiding a Potential Problem With an Except-Clause
23 Chaining Exceptions with the Raise from Statement
24 Managing a Context Using the With Statement

Function Definitions
25 Designing Functions with Optional Parameters
26 Using Super Flexible Keyword Parameter
27 Forcing Keyword-only Argument with the eparator Separator
28 Writing Explicit Types on Function Parameters
29 Picking an Order for Parameters Based on Partial Functions
30 Writing Clear Documentation Strings
31 Designing Recursive Functions Around Python’s Stack Limit
32 Writing Reusable Script with the Script Library Switch

Built-in Data Structures – List, Sets, and Dict
33 Choosing a Data Structure
34 Building Lists – Literals, Appending, and Comprehensions
36 Deleting From a List
37 Reversing a Copy of a List
38 Using Set Methods and Operators
39 Removing Items from a Set
40 Creating Dictionaries
41 Removing from Dictionaries
42 Controlling the Order of the Dict Keys
43 Handling Dictionaries and Sets in doctest Examples
44 Understanding Variables, References, and Assignment
45 Making Shallow and Deep Copies of Objects
46 Avoiding Mutable Default Values for Function Parameters

User Inputs and Outputs
47 Using Features of the print() Functions
48 Using input() and getpass() for User Input
49 Debugging with “Format”.Format_Map(Vars())
50 Using Argparse to Get Command-line Input
51 Using CMD for Creating Command-line Applications
52 Using the OS Environment Settings