SQA Tools Blog

Learn testing and automation, one article at a time

Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.

1,677Articles
1,141Solved Python problems
7Topics
100%Free

Python articles

298 articles · page 23 of 25 · Clear filters
Python

PyCharm & VS Code Setup

Set up PyCharm or VS Code for Python: create a project, pick the interpreter, run and debug your first script, and use a virtual environment.

4 min readRead →
Python

Install Python

Step-by-step guide to install Python 3 on Windows, macOS and Linux, check the version, use the interactive shell and run your first .py file.

5 min readRead →
Python

Python SQLite

Learn Python's sqlite3 module: connect to a database, create tables, insert with parameters, query and fetch rows, update, delete, transactions and pandas.

8 min readRead →
Python

Python JSON Module Tutorial

Elevate your data interchange skills with the Python json module and unlock the ability to create flexible, interoperable data solutions.

2 min readRead →
Python

Python Datetime

Learn the Python datetime module: create dates and times, format with strftime, parse with strptime, date arithmetic with timedelta, and time zones.

7 min readRead →
Python

Python sys Module

Learn the Python sys module: read command-line arguments with sys.argv, exit with a status code, check sys.path and versions, and use stdin and stderr.

6 min readRead →
Python

Python Collections Module

Learn Python's collections module: Counter for counting, defaultdict for grouping, deque for queues, namedtuple, OrderedDict and ChainMap, with examples.

7 min readRead →
Python

Python Exception Handling

Learn Python exception handling: try/except, catching specific errors, else and finally, raise, custom exceptions, reading tracebacks and best practices.

9 min readRead →
Python

Python Modules

Elevate your programming skills with Python modules and master the art of creating structured, efficient, and scalable code.

3 min readRead →
Python

Python Classes & Objects

Learn Python OOP: classes, objects, __init__, self, attributes, methods, class vs instance variables, __str__, classmethod and dataclass, with examples.

8 min readRead →
Python

Python NumPy

Learn NumPy in Python: create arrays, shape and reshape, indexing and slicing, boolean masks, vectorised maths, broadcasting, statistics and random numbers.

7 min readRead →
Python

Python Pandas

Learn pandas in Python: Series and DataFrames, read CSV, select rows and columns, filter, sort, add columns, handle missing data, group by and merge.

8 min readRead →

Preparing for a QA interview?

Take free timed mock tests with answers and explanations.