30DaysOfPython

Python 101 – How to Create a Graphical User Interface

When you first get started as a programmer or software developer, you usually start by writing code that prints to your console or standard out. A lot of students are also starting out by writing front-end programs, which are typically websites written with HTML, JavaScript and CSS. However, most beginners do not learn how to […]

Python 101 – How to Create a Graphical User Interface Read More »

Python 101 – How to Generate a PDF

The Portable Document Format (PDF) is a very popular way to share documents across multiple platforms. The goal of the PDF is to create a document that will look the same on multiple platforms and that will print the same (or very similar) on various printers. The format was originally developed by Adobe but has

Python 101 – How to Generate a PDF Read More »

Python 101 – An Intro to Jupyter Notebook

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain code, equations, visualizations, and formatted text. By default, Jupyter Notebook runs Python out of the box. Additionally, Jupyter Notebook supports many other programming languages via extensions. You can use the Jupyter Notebook for data cleaning and transformation,

Python 101 – An Intro to Jupyter Notebook Read More »

Python 3.10 – Simplifies Unions in Type Annotations

Python 3.10 has several new typing features. They are given in detail here: PEP 604, Allow writing union types as X | Y PEP 613, Explicit Type Aliases PEP 612, Parameter Specification Variables The focus of this tutorial is to talk about PEP 604, which makes writing union types easier when adding type annotation (AKA:

Python 3.10 – Simplifies Unions in Type Annotations Read More »