- PEP 484 -- Type Hints - об опциональном использовании статических типов в python 3.
- venv
- The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets
- Катастрофа Unicode в Python3 - Armin Ronacher, перевод статьи.
- Pragmatic Unicode
Testing
- Selenium in Python - Статья о тестировании веб-интерфейсов с помощью selenium'а.
- Modern Web Automation With Python and Selenium - статья на https://realpython.com/
- Современная Веб-Автоматизация при Помощи Python и Selenium - статья на https://python-scripts.com
Полезные статьи
- Ten Things Python Programmers Should Know
- Джоэл Спольски. Что нужно знать о Юникод
- Aaron Maxwell, 2 great benefits of Python generators (and how they changed me forever) - статья про генераторы
- Python: List Files in a Directory
- Basic Terminal Apps
- The easy (and nice) way to do CLI apps in Python
- Building Simple Command Line Interfaces in Python
- Setup tools guide
- Argparse Tutorial - официальное руководство по модулю.
- Argparse docs - Parser for command-line options, arguments and sub-commands
- Python Command Line Apps - davidfischer.name
- Writing Awesome Command-Line Programs in Python - видео о создании приложений для терминала.
- Distributing a Python command line application - by Jan-Philip Gehrcke
Build binary files and installer
sys.argv
- Получить аргументы из командной строки. Возвращает list. argv[0]
содержит имя файла.
# Получение всего списка файлов из папки с определённым расширением
files = [f for f in os.listdir(self.path_to_files) if os.path.isfile(os.path.join(self.path_to_files, f)) and f.lower().endswith('.html')]
glob — Filename Pattern Matching - полезный модуль для обхода файлов и директорий, статья на pymotw.com.
- Pillow, руководство
- Getting Started with Images - manual about cv2 library.