Miguel Brito
miguendes's blog

miguendes's blog

Follow
Follow
homeAboutbadgesnewsletter
Tag

Python

#python

More content

Read more stories on Hashnode


Articles with this tag

The Best Ways to Compare Two Lists in Python

Dec 12, 202117 min read

Check if two lists are equal, which elements match, get the difference between two lists, compare lists of dictionaries, list of strings and more! · A...

The Best Ways to Compare Two Lists in Python

How to Compare Two Strings in Python (in 8 Easy Ways)

Nov 28, 202112 min read

A guide on how to check if two strings are equal, or similar. Learn how to find the difference between two strings. Make complex comparisons and more! ·...

How to Compare Two Strings in Python (in 8 Easy Ways)

Pylint: How to fix "c0209: formatting a regular string which could be a f-string (consider-using-f-string)"

Nov 14, 20213 min read

Learn how to fix this new Pylint rule that raises: 'formatting a regular string which could be a f-string (consider-using-f-string)' error · Some weeks I...

Pylint: How to fix "c0209: formatting a regular string which could be a f-string (consider-using-f-string)"

Python pathlib Cookbook: 57+ Examples to Master It (2022)

Oct 31, 202129 min read

A mega tutorial with dozens of examples on how to use the pathlib module in Python 3 · When I started learning Python, there was one thing I always had...

Python pathlib Cookbook: 57+ Examples to Master It (2022)

How to Disable Autouse Fixtures in pytest

Oct 17, 20215 min read

Learn how to ignore autouse fixtures for one test or more tests · pytest is a very robust framework that comes with lots of features. One such feature...

How to Disable Autouse Fixtures in pytest

15 Easy Ways to Trim a String in Python

Oct 3, 20218 min read

Learn how to strip / remove spaces, newline, tabs, special characters, line ending, and more! · I'm not gonna lie. There are multiple ways you can trim a...

15 Easy Ways to Trim a String in Python