Обучалка в Телеграм

Python Cookbook, Third edition, Beazley D., Jones B., 2013


Python Cookbook, Third edition, Beazley D., Jones B., 2013.

   If you need help writing programs in Python 3, or want to update older Python 2 code, this book is just the ticket. Packed with practical recipes written and tested with Python 3.3, this unique cookbook is for experienced Python programmers who want to focus on modern tools and idioms.
Inside, you’ll find complete recipes for more than a dozen topics, covering the core Python language as well as tasks common to a wide variety of application domains. Each recipe contains code samples you can use in your projects right away, along with a discussion about how and why the solution works.

Python Cookbook, Third edition, Beazley D., Jones B., 2013


Handling HTML and XML Entities in Text.
Proper escaping of special characters is an easily overlooked detail of generating HTML or XML. This is especially true if you’re generating such output yourself using print() or other basic string formatting features. Using a utility function such as html.es cape() is an easy solution.

If you need to process text in the other direction, various utility functions, such as xml.sax.saxutils.unescape(), can help. However, you really need to investigate the use of a proper parser. For example, if processing HTML or XML, using a parsing module such as html.parser or xml.etree.ElementTree should already take care of details related to replacing entities in the input text for you.

Contents.
Preface.
1. Data Structures and Algorithms.
2. Strings and Text.
3. Numbers, Dates, and Times.
4. Iterators and Generators.
5. Files and I/O.
6. Data Encoding and Processing.
7. Functions.
8. Classes and Objects.
9. Metaprogramming.
10. Modules and Packages.
11. Network and Web Programming.
12. Concurrency.
13. Utility Scripting and System Administration.
14. Testing, Debugging, and Exceptions.
15. C Extensions.
A. Further Reading.
Index.



Бесплатно скачать электронную книгу в удобном формате, смотреть и читать:
Скачать книгу Python Cookbook, Third edition, Beazley D., Jones B., 2013 - fileskachat.com, быстрое и бесплатное скачивание.

Скачать pdf
Ниже можно купить эту книгу по лучшей цене со скидкой с доставкой по всей России.Купить эту книгу



Скачать - pdf - Яндекс.Диск.
Дата публикации:





Теги: :: :: ::


 


 

Книги, учебники, обучение по разделам




Не нашёл? Найди:





2024-11-21 17:49:34