Welcome to a collection of Jupyter Notebooks from the How to Python series on The Renegade Coder. For convenience, you can access all of the articles, videos, challenges, and source code below. Alternatively, I keep an enormous article up to date with all these snippets as well.
Index | Title | Publish Date | Article | Video | Challenge | Notebook | Testing |
---|---|---|---|---|---|---|---|
1 | How to Empty a List in Python: Clear(), Del, and More! | Fri, 23 Apr 2021 14:00:00 +0000 | Article | Video | Challenge | Test | |
2 | How to Capitalize a String in Python: Upper(), Capitalize(), And More | Fri, 15 Jan 2021 15:00:00 +0000 | Article | Video | Challenge | Test | |
3 | How to Convert an Integer to a String in Python: Type Casting and f-Strings | Mon, 16 Nov 2020 15:00:00 +0000 | Article | Challenge | Test | ||
4 | How to Plot a Line Using Matplotlib in Python: Lists, DataFrames, and More | Fri, 09 Oct 2020 14:00:00 +0000 | Article | ||||
5 | How to Swap Variables in Python: Temporary Variables and Iterable Unpacking | Mon, 05 Oct 2020 14:00:00 +0000 | Article | ||||
6 | How to Open a File in Python: open(), pathlib, and More | Fri, 24 Jul 2020 14:00:00 +0000 | Article | Challenge | |||
7 | How to Remove Duplicates From a List in Python: Sets, Dicts, and More | Mon, 20 Jul 2020 14:00:00 +0000 | Article | Challenge | |||
8 | How to Iterate Over Multiple Lists at the Same Time in Python: Zip() and More! | Fri, 10 Jul 2020 14:00:00 +0000 | Article | Challenge | |||
9 | How to Check If a Key Exists in a Dictionary in Python: in, get(), and More | Fri, 26 Jun 2020 14:00:00 +0000 | Article | Challenge | |||
10 | How to Loop Over a Dictionary in Python: Keys, Values, and More | Fri, 12 Jun 2020 14:00:00 +0000 | Article | Notebook | |||
11 | How to Split a String by Whitespace in Python: Brute Force and split() | Fri, 17 Apr 2020 14:00:00 +0000 | Article | ||||
12 | How to Convert a String to Lowercase in Python: lower() and More | Mon, 30 Mar 2020 14:00:00 +0000 | Article | ||||
13 | How to Round a Number in Python: Truncation, Arithmetic, and More | Mon, 23 Mar 2020 14:00:00 +0000 | Article | Challenge | |||
14 | How to Create a List in Python: Loops, Comprehensions, and More | Mon, 16 Mar 2020 14:00:00 +0000 | Article | Challenge | |||
15 | How to Compute Absolute Value in Python: Control Flow, Abs(), and More | Fri, 13 Mar 2020 14:00:00 +0000 | Article | Challenge | |||
16 | How to Obfuscate Code in Python: A Thought Experiment | Mon, 09 Mar 2020 14:00:00 +0000 | Article | ||||
17 | How to Increment a Number in Python: Operators, Functions, and More | Fri, 06 Mar 2020 15:00:00 +0000 | Article | Challenge | |||
18 | How to Brute Force Sort a List in Python: Bubble, Insertion, and Selection | Mon, 02 Mar 2020 15:00:00 +0000 | Article | ||||
19 | How to Compare Strings in Python: Equality and Identity | Fri, 14 Feb 2020 15:00:00 +0000 | Article | Video | |||
20 | How to Write a Loop in Python: While and For | Mon, 27 Jan 2020 15:00:00 +0000 | Article | Notebook | |||
21 | How to Comment Code in Python: Inline, Multiline, and Docstring | Fri, 17 Jan 2020 15:00:00 +0000 | Article | Video | |||
22 | How to Add an Item to a List in Python: Append, Slice Assignment, and More | Fri, 10 Jan 2020 15:00:00 +0000 | Article | ||||
23 | How to Check if a String Contains a Substring in Python: In, Index, and More | Mon, 06 Jan 2020 06:40:00 +0000 | Article | Challenge | |||
24 | How to Perform a Reverse Dictionary Lookup in Python: Generator Expressions and More | Fri, 03 Jan 2020 15:00:00 +0000 | Article | ||||
25 | How to Performance Test Python Code: timeit, cProfile, and More | Mon, 02 Dec 2019 15:00:00 +0000 | Article | ||||
26 | How to Print on the Same Line in Python: Print and Write | Fri, 13 Sep 2019 14:00:23 +0000 | Article | ||||
27 | How to Format a String in Python: Interpolation, Concatenation, and More | Fri, 06 Sep 2019 14:00:11 +0000 | Article | Video | |||
28 | How to Merge Two Dictionaries in Python: Comprehensions, Unpacking, and the Union Operator | Fri, 07 Jun 2019 14:00:13 +0000 | Article | ||||
29 | How to Write a List Comprehension in Python: Modifying and Filtering | Fri, 03 May 2019 14:00:58 +0000 | Article | Video | Notebook | ||
30 | How to Sort a List of Dictionaries in Python: Sort and Sorted | Mon, 25 Mar 2019 14:00:09 +0000 | Article | ||||
31 | How to Parse a Spreadsheet in Python: CSV Reader and DictReader | Mon, 04 Mar 2019 15:00:18 +0000 | Article | ||||
32 | How to Sort a List of Strings in Python: Sort, Sorted, and More | Fri, 07 Dec 2018 15:00:12 +0000 | Article | ||||
33 | How to Make a Python Script Shortcut with Arguments: Batch, Bash, and More | Mon, 09 Apr 2018 14:00:53 +0000 | Article | ||||
34 | How to Get the Last Item of a List in Python: Iterable Unpacking and More | Wed, 14 Mar 2018 14:00:32 +0000 | Article | Video | |||
35 | How to Copy a List in Python: Slice, Copy, and More | Thu, 08 Mar 2018 15:00:50 +0000 | Article | Video | |||
36 | How to Check if a List is Empty in Python: Type Flexibility and More | Wed, 07 Mar 2018 15:00:41 +0000 | Article | Video | |||
37 | How to Convert Two Lists into a Dictionary in Python: Zip, Comprehensions, and Loops | Thu, 01 Mar 2018 16:42:08 +0000 | Article | Video | |||
38 | How to Check if a File Exists in Python: Try/Except, Path, and IsFile | Sat, 17 Feb 2018 16:16:00 +0000 | Article | ||||
39 | How to Sum Elements of Two Lists in Python: Comprehensions and More | Sat, 09 Dec 2017 23:21:21 +0000 | Article | Video | |||
40 | How to Invert a Dictionary in Python: Comprehensions, Defaultdict, and More | Mon, 04 Dec 2017 19:55:17 +0000 | Article | Video |