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 Comparators: Comparison Operators, Sorting, and Keys

July 13, 2026July 29, 2021
Python comparison operators guide

Understand Python comparison operators, rich comparisons, chained conditions, sorting keys, cmp_to_key, equality, and edge cases such as NaN.

Python casefold(): Case-Insensitive and Unicode-Safe Matching

July 13, 2026July 28, 2021
Python casefold method guide

Use Python casefold for robust case-insensitive Unicode matching, understand its difference from lower, and normalize comparison keys without changing display text.

Python Time Difference in Seconds: timedelta and Timestamps

July 13, 2026July 27, 2021
Calculate time difference in Python guide

Calculate Python time differences in seconds with datetime, timedelta.total_seconds(), timestamps, timezone-aware values, and rounding.

Python Union of Lists: Combine Values Without Unwanted Duplicates

July 13, 2026July 24, 2021
Python union of lists guide showing two lists combined into one unique result list

Combine Python lists as a union with order-preserving methods, set operations, hashability checks, duplicate rules, and readable examples.

Get Hostname in Python: socket, platform, and DNS

July 13, 2026July 16, 2021
Python get hostname guide showing socket gethostname platform node FQDN and DNS lookup examples

Get a hostname in Python with socket.gethostname(), platform.node(), getfqdn(), reverse DNS, and safe error handling.

Python List Max Index: max(), index(), enumerate(), and Ties

July 13, 2026July 13, 2021
Python list max index guide showing max value position enumerate ties and NumPy argmax examples

Find the index of the max value in a Python list with max(), index(), enumerate(), ties, empty-list handling, dictionaries, and NumPy argmax.

Remove NaN from a Python List: math.isnan, NumPy, and pandas

July 13, 2026July 7, 2021
Remove NaN from a list in Python

Remove NaN values from a Python list with math.isnan(), safe mixed-type checks, NumPy masks, pandas dropna(), and correct comparisons.

Run-Length Encoding in Python: Compress Repeated Values

July 13, 2026July 6, 2021
Run length encoding in Python guide

Implement run-length encoding in Python for strings or sequences with counts, decoding, edge cases, Unicode, compression tradeoffs, and tests.

Replace Items in a Python List: Index, Loop, map(), and Slices

July 13, 2026July 4, 2021
Replace item in Python list guide

Replace one or many Python list items with index assignment, enumerate, comprehensions, map, or slice assignment based on mutation needs.

Iterate Through a Set in Python Without Relying on Order

July 13, 2026July 3, 2021
Iterate through a set in Python guide

Loop through Python sets for unique values, sort for stable presentation, and preserve order when position matters.

Older posts
Newer posts
← Previous Page1 … Page15 Page16 Page17 … 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 »