As the title promises, this book will introduce you to one of the world’s most popular programming languages: Python. It’s aimed at beginning programmers as well as more experienced programmers who want to add Python to the languages they already know.
In most cases, it’s easier to learn a computer language than a human language. There’s less ambiguity and fewer exceptions to keep in your head. Python is one of the most consistent and clear computer languages. It balances ease of learning, ease of use, and expressive power.
Green Threads and gevent.
As you’ve seen, developers traditionally avoid slow spots in programs by running them in separate threads or processes. The Apache web server is an example of this design.
One alternative is event-based programming. An event-based program runs a central event loop, doles out any tasks, and repeats the loop. The NGINX web server follows this design, and is generally faster than Apache.
The gevent library is event-based and accomplishes a neat trick: you write normal imperative code, and it magically converts pieces to coroutines. These are like generators that can communicate with one another and keep track of where they are. gevent modifies many of Python’s standard objects such as socket to use its mechanism instead of blocking. This does not work with Python add-in code that was written in C, as some database drivers are.
Бесплатно скачать электронную книгу в удобном формате, смотреть и читать:
Скачать книгу Introducing Python, Modern Computing in Simple Packages, Second edition, Lubanovic B., 2020 - fileskachat.com, быстрое и бесплатное скачивание.
Скачать pdf
Ниже можно купить эту книгу по лучшей цене со скидкой с доставкой по всей России.Купить эту книгу
Скачать - pdf - Яндекс.Диск.
Дата публикации:
Теги: учебник по программированию :: программирование :: Lubanovic
Смотрите также учебники, книги и учебные материалы:
Следующие учебники и книги:
- Python for Kids, A Playful Introduct to Programm, Briggs J.R., 2012
- Python for Data Science For Dummies, Mueller J.P., Massaron L., 2019
- JavaScript для детей, самоучитель по программированию, Морган Н., 2016
- JavaScript for Kids, Morgan N., 2014
Предыдущие статьи:
- Head First Python, Barry P., 2017
- Head First JavaScript Programming, Freeman E., Robson E., 2014
- Head First C#, Stellman A., Greene J., 2013
- Технология программирования на C++, Win32 API-приложения, Литвиненко Н.А., 2010