Skip to content
Python Pool
  • Blog
  • About Python Pool
  • Contact Us
  • Online Python Compiler
Python Pool
  • Blog
  • About Python Pool
  • Contact Us
  • Online Python Compiler

Tutorials

Browse Python tutorials for beginners and working developers, including syntax, libraries, examples, projects, and real problem-solving guides.

Python split(): Separator, Whitespace, and maxsplit

July 13, 2026May 30, 2023
Python split method guide showing a string separated into list items

Understand Python split() whitespace rules, delimiters, empty fields, maxsplit, splitlines(), and when to use a real parser.

Python heapq: Min-Heap, Priority Queue, and Top-k

July 13, 2026May 30, 2023
Python heapq module priority queue guide

Build Python min-heaps, push and pop priorities, handle ties, select top-k values, and understand why a heap is not fully sorted.

Python str.translate(): Replace, Delete, and Normalize Characters

July 13, 2026May 30, 2023
Python translate str.maketrans replace remove characters

Use Python str.translate() and str.maketrans() to replace or delete characters, normalize text, and distinguish character mapping from language translation.

Python deque Empty Handling: Check, Peek, and Pop Safely

July 13, 2026May 2, 2023
Python deque empty handling guide

Handle an empty Python deque safely with bool, len, peek patterns, popleft, append, and queue workflows that avoid IndexError.

Unbuffered Python Output: -u, flush, and PYTHONUNBUFFERED

July 17, 2026May 2, 2023
Python unbuffered mode PYTHONUNBUFFERED guide

Make Python logs appear immediately with the -u flag, PYTHONUNBUFFERED, and targeted flush calls for stdout and stderr.

Python Exponent Operator **: Power, Precedence, and pow()

July 13, 2026May 2, 2023
Python exponent operator guide showing power expressions

Learn how ** differs from ^, how precedence affects negative bases, and when three-argument pow() is the right tool.

Find a Character in a String with Python: find(), index(), and Regex

July 13, 2026May 1, 2023
Find a character in a Python string guide

Find characters in Python strings with in, find(), index(), count(), any(), and regular expressions while handling missing matches and case sensitivity clearly.

Import Python from Another Directory: Packages and Project Layout

July 13, 2026May 1, 2023
Import Python modules from another directory guide

Import Python modules from another directory with package structure, absolute imports, python -m, editable installs, and safer alternatives to sys.path hacks.

Python Current Directory: os.getcwd(), Path.cwd(), and __file__

July 13, 2026May 1, 2023
Python get current directory guide with os and pathlib

Get the Python working directory, distinguish process cwd from the script folder, and build portable paths with pathlib.

Python strftime(): Date Formatting Codes, Timezones, and Parsing

July 13, 2026April 1, 2023
Python strftime date formatting guide

Format Python date and time objects with strftime directives, parse matching text, and handle timezone, locale, and filename boundaries.

Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page36 Next →

About us

Python Pool is a platform where you can learn and become an expert in every aspect of Python programming language as well as in AI, ML, and Data Science.

Quick Links

  • AI
  • Algorithm
  • Career
  • Comparison
  • Data Science
  • Error
  • How to
  • Learning
  • Machine Learning
  • Matplotlib
  • Module
  • News
  • Numpy
  • OpenCV
  • Pandas
  • Programs
  • Project
  • Questions
  • Review
  • Software
  • Tensorflow
  • Tutorials

Pages

  • About Python Pool
  • Contact Us
  • Cookies Policy
  • DMCA
  • Privacy Policy
© 2026 Python Pool
Next Page »