Recognition

Posts

9 Posts
  • Published Tutorial

    How To Use Assignment Expressions in Python

    The author selected the COVID-19 Relief Fund to receive a donation as part of the Write for DOnations program. [Python…
    By DavidMuller Python
  • Published Tutorial

    How To Use the all, any, max, and min Functions in Python

    In this tutorial, you will learn how to use the Python built-in functions all, any, max, and min. Python includes a number of built-in functions—these are global Python functions that can be called from any Python cod...
    By DavidMuller Python
  • Published Tutorial

    How To Use unittest to Write a Test Case for a Function in Python

    Tests written using the unittest module can help you find bugs in your programs, and prevent regressions from occurring as you change your code over time. Teams adhering to test-driven development may find unittest us...
    By DavidMuller Python
  • Published Tutorial

    How To Use f-strings to Create Strings in Python 3

    Python strings are variable length sequences of characters and symbols. Strings allow your program to manipulate and track text and also display that text to your users. In this tutorial, you will learn how to use Pyt...
    By DavidMuller Python Development
  • Published Tutorial

    How To Use the collections Module in Python 3

    In this tutorial, we’ll go through three classes in the collections module to help you work with tuples, dictionaries, and lists. We’ll use namedtuples to create tuples with named fields, defaultdict to concisely grou...
    By DavidMuller Python
  • Published Tutorial

    How To Use subprocess to Run External Programs in Python 3

    Python 3's subprocess module can be used to run external programs and read their outputs in your Python code. subprocess includes several classes and functions, but in this tutorial we'll cover one of subprocess's mos...
    By DavidMuller Python
  • Published Tutorial

    How To Use the pathlib Module to Manipulate Filesystem Paths in Python 3

    Python 3 includes the pathlib module for manipulating file system paths agnostically whatever the operating system. pathlib is similar to the os.path module, but pathlib offers a higher level—and often times more conv...
    By DavidMuller Python Development
  • Published Tutorial

    How To Use ThreadPoolExecutor in Python 3

    Python threads are a form of parallelism that allow your program to run multiple procedures at once. Parallelism in Python can also be achieved using multiple processes, but threads are particularly well suited to spe...
    By DavidMuller Python Development
  • Published Tutorial

    How To Use the sqlite3 Module in Python 3

    SQLite is a self-contained, file-based SQL database. SQLite comes bundled with Python and can be used in any of your Python applications without having to install any additional software. In this tutorial, we’ll go th...
    By DavidMuller Python Development Databases SQLite