Python для программистов (eng)
О книге
Модули, Пакеты, "Волшебные" методы, паттерны для Python, линтинг, логирование.. все здесь. Книга по Python 3.5
If you're a programmer, then learning a new language isn't difficult. It's just syntax at the end of the day, and so you're not overly concerned about 'how' to write code. You're more interested in just getting setup quickly and in the right direction.
Things like:Нажмите, чтобы раскрыть...
Getting to this information quickly is what will make the difference to your success picking up the language and how fast you get up and running.Нажмите, чтобы раскрыть...
- What's the best way to install and run applications?
- How do dependencies and libraries work?
- What does the important parts of the language API look like?
- What's are the language idiosyncrasies?
- For Loops
- Generators
- List Comprehensions
- Magic Methods
- Writing tests
Спойлер: Содержание
- Introduction
- Background
- Brief History of Python
- The Pythonic Way
- This Book
- Prerequisites
- Installation
- Homebrew
- Docker
- Pyenv
- Documentation
- Vim Setup
- Pylint
- Flake8
- Auto-Complete with Jedi
- Modules
- Importing Modules
- Module used for CLI tooling
- Packages
- Local Package Development
- Installing Private Packages from GitHub
- Package Management
- Data Structures
- Lists
- Dictionary
- Tuple
- Sets
- Double-ended Queue
- Bisection
- Classes
- Pylint
- Attributes
- Property Decorators
- Polymorphic Access
- Getters and Setters Discussion
- Code Reuse Patterns
- Inheritance
- Composition
- Magic Methods
- __str__
- __str__ vs __repr__
- __class__
- __name__
- __getattribute__
- __dict__
- __call__
- Loops
- For/In
- Zip
- Enumerate
- List Comprehensions
- Ordering
- Range
- Generators
- String Formatting
- Positional access to arguments
- Splatting arguments
- Repeatable indexes
- Named arguments
- Keyword arguments
- Complex object access
- Alignment and Padding
- Separators
- Percentages
- Decorators
- Memoization
- Concurrency
- Tasks and the Event Loop
- Hello World Concurrency
- Chained/Coupled Function Calls
- Futures
- Multiple Tasks
- Wait vs Gather
- uvloop
- Parallelism
- Subprocesses
- Deco: simplified subprocesses
- Asyncio (again)
- Threads
- Threads vs Coroutines vs Futures vs Subprocesses
- Logging
- Log Levels
- Configuration
- File Logging
- Multiple Modules
- Different modules require different configuration
- Timestamps
- Tornado Web Server
- Example
- Documentation
- Testing
- Example test files
- Understanding our example tests
- Running our tests
- setUp/tearDown
- The many faces of Mock
- Pytest
- Debugging
- Poor Man Debugging
- IPython
- PDB
- Scope
- Global
- Context Managers
- With
- Creating your own Context Manager
- contextlib
- Conclusion
- Introduction
Скрытое содержимое.
Отзывов пока нет. Будьте первым!
Это не розничная цена — это ваш взнос в складчину. Мы собираем группу участников и делим между ними стоимость официального доступа: каждый платит только свою долю, а получает весь материал. Чем больше участников, тем меньше взнос. После того как сумма собрана, мы оформляем официальный доступ и раздаём материалы всем, кто участвовал.
Нажмите кнопку «Получить книгу» на этой странице и следуйте инструкциям. Вас переведёт на форму оплаты — доступны все современные способы (карта, СБП, электронные кошельки). После оплаты на почту придёт письмо со ссылкой и инструкциями для доступа к материалам. Если ссылка не открывается, загляните в раздел «Помощь» или напишите в поддержку.
Да, конечно. Все материалы — видео, PDF, дополнительные файлы — можно скачать к себе на компьютер и пользоваться ими сколько угодно, без ограничений по времени. Ссылки остаются активными в вашей библиотеке «Мои складчины».