This article looks at what type hints are and how they can benefit you. We'll also dive into how you can use Python's type system for type checking.
Python is an open-source, general purpose, high level programming language. Its flexibility allows you to do many things with it, big and small. It can be used for everything from simple scripts to complex, large-scale enterprise applications. It’s often used for:
- Back-end web development
- Artificial intelligence and machine learning
- Data analysis and visualization
- Web scraping and crawling
- Desktop GUIs
- Automation, testing, and deployment
That said, it’s community is what makes it really stand out amongst other programming languages. There’s a wealth of open-source tools and libraries at your disposal. There’s also plenty of tutorials and other community-maintained resources available.
The tutorials and articles on TestDriven focus on developing Python-based applications with Test-Driven Development (TDD) along with concurrency and parallelism.
Latest Posts (12)
Improve the quality of your Python code with linters, code formatters, and security vulnerability scanners.
Set up your own private PyPI server with pypiserver and Docker.
This post looks at the available tools for dependency and workspace management in Python.
Interested in how TDD works? This guide walks you through the process, using modern tools and techniques, from start to finish.
This article looks at some tools and techniques that help make testing in Python easier.
This post looks at how to speed up CPU-bound and IO-bound operations with multiprocessing, threading, and AsyncIO.
Looks at the new features in Python 3.9 and how they can be implemented.
This post looks at how to implement several asynchronous task queues using the Python multiprocessing library and Redis.
Looks at how to use dependency injection to decouple and improve the design of a Python application
Details what concurrency and parallel programming are in Python and shows practical examples of using multithreading, concurrent.futures, and asyncio.
Looks at an example of how Test-Driven Development improves code quality.