Modern Python Solutions Part 1

  • Section 1: Numbers, Strings, and Tuples

    This section looks at the different kinds of numbers, works with strings, uses tuples, and uses the essential built-in types in Python. It will also exploit the full power of the Unicode character set.

    • 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

    Browse Videos
  • Section 2: Statements and Syntax

    This section will cover some basics of creating script files first. Then we'll move on to looking at some of the complex statements, including if, while, for, try, with, and raise.

    • 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

    Browse Videos
  • Section 3: Function Definitions

    This section will look at a number of function definition techniques. We'll also look at the Python 3.5 typing module and see how we can create more formal annotations for our functions.

    • 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

    Browse Videos
  • Section 4: Built-in Data Structures – List, Sets, and Dict

    This section will provide an overview of the various structures that are available and what problems they solve. From there, you can look at lists, dictionaries, and sets in detail, and also look at some more advanced topics related to how Python handles references to objects.

    • 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

    Browse Videos
  • Section 5: User Inputs and Outputs

    This section will explain how to use the different features of the print() function. We'll also look at the different functions used to provide user input.

    • 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

    Browse Videos
View Larger

Next Prev
Close