Knowledge base category
Python
53 practical guides in Python.
How to Read Python Tracebacks and Fix the Underlying Error
Read Python tracebacks, follow callers, preserve exception causes and log failures correctly. Includes captured output and validation tested with -O.
PythonPython range(): Start, Stop, Step and Loop Examples
Learn Python range with tested examples of start, stop and step, reverse counting, empty ranges, indexing, iterator exhaustion and input errors.
PythonPython Nested Loops: Pairs, Rows, break and Common Mistakes
Use Python nested loops for pairs and rows. Test ragged inputs, inner counter resets, break behavior and the difference between zip and product.
Python10 Mini Python Projects with Tested Examples and Safety Checks
Practice Python with ten small projects covering input, lists, dictionaries, timers, APIs and files, with tested examples and clear limitations.
PythonPython Loops: for, while, break, continue and Loop else
Learn Python for and while loops with tested examples of iteration, break, continue, loop else and safe collection filtering.
PythonAvoid Common Mistakes as a Python Beginner: Cheat Sheet
Discover common mistakes beginners make in Python and learn how to avoid them for more reliable, efficient, and readable code.
PythonPython Built-in Functions: Tested Examples and Common Pitfalls
Use Python built-ins for conversion, collections, iteration, sorting, inspection and files. Includes tested examples and important edge cases.
PythonUnderstanding Python List Comprehensions with Easy Examples
Discover Python list comprehensions with easy examples, their benefits, practical applications, and tips to avoid common mistakes.
PythonSimple Guide to Python Data Types: Understanding, Examples, and Best Practices
Explore Python data types, their importance, and best practices for using them effectively in your code, including tips on type conversion and custom types.
PythonPython if, elif and else: Conditions, Branches and Validation
Use Python if, elif and else correctly. Test branch order, boundary values, missing versus zero values, input validation and conversion errors.
PythonMaster the Basics: Essential Core Python Concepts Every Beginner Should Know
Dive into the essential core Python concepts every beginner should master, from syntax and data types to functions, loops, and object-oriented programming.
PythonHow to Debug Python Programs and Scripts Like a Pro
Learn to debug your Python programs effectively with essential tips and tools, improving your coding skills and solving problems efficiently.
