Название: 1000 Python Examples Автор: Gabor Czabo Издательство: Leanpub Год: 2020-09-21 Страниц: 1069 Язык: английский Формат: pdf (true), mobi, epub Размер: 10.1 MB
Goal: You will come out from the workshop knowing: 1) What are Fixtures? 2) What is Mocking and Monkey Patching? 3) When to use them? 4) What are the dangers? 5) Experiment with mocking in various situations.
Fixtures: - Fixtures - the environment in which a test runs (the outside world) - Directory layout - files - Database with or without data etc. Fixtuers in Pytest.
Contents:
Fixtures and Mocking in Python First steps Second steps Numbers Comparison and Boolean Strings Loops Formatted printing Lists Files Dictionary (hash) Sets Functions (subroutines) Modules Regular Expressions PyCharm Python standard modules JSON Command line arguments with argparse Exception handling Classes - OOP - Object Oriented Programming PyPi - Python Package Index SQLite Database Access MySQL PostgreSQL SQLAlchemy NoSQL MongoDB Redis Web client Python Web server Python Flask Networking Interactive shell Testing Demo Types in Python Testing Intro Functional programming Iterators - with and without Itertools Generators and Generator Expressions Logging Closures Decorators Context managers (with statement) Advanced lists Advanced Exception handling Warnings CSV Excel XML SciPy - for Scientific Computing in Python Python and Biology Chemistry numpy Pandas Matplotlib Seaborn Jupyter notebooks Testing Testing with unittest Testing with PyTest Advancted functions Variable number of function arguments Python Packages Ctypes Advanced OOP 2to3 Design Patterns Parallel Threads Forking Asyncronus programming with AsyncIO Asynchronus programming with Twisted Multiprocess Multitasking Improving Performance - Optimizing code GUI with Python/Tk Python Pitfalls Linters Python .NET Python and Java Jython - Python running on the JVM PIL - Pillow FAQ Appendix Other slides
Скачать 1000 Python Examples (Updated 09/2020)
|