Vtome.ru - электронная библиотека

Understanding Python re(gex)? Example based guide to mastering Python regular expressions

  • Добавил: literator
  • Дата: 23-04-2024, 06:11
  • Комментариев: 0
Название: Understanding Python re(gex)? Example based guide to mastering Python regular expressions
Автор: Sundeep Agarwal
Издательство: Leanpub
Год: 2023-03-21
Страниц: 122
Язык: английский
Формат: pdf (true), mobi, epub
Размер: 10.1 MB

Scripting and automation tasks often need to extract particular portions of text from input data or modify them from one format to another.

This book will help you learn Python Regular Expressions, a mini-programming language for all sorts of text processing needs.

The book heavily leans on examples to present features of regular expressions one by one. It is recommended that you manually type each example and experiment with them. It is recommended that you manually type each example and experiment with them. Understanding both the nature of input strings and the output produced is essential. As an analogy, consider learning to drive a car — no matter how much you read about them or listen to explanations, you'd need practical experience to become proficient.

Both the standard re module and the popular third-party regex module are covered in this book.

Exercises are also included to test your understanding.

Prerequisites:

You should be familiar with programming basics. You should also have a working knowledge of Python syntax and features like string formats, string methods and list comprehensions.

You are also expected to get comfortable with reading manuals, searching online, visiting external links provided for further reading, tinkering with illustrated examples, asking for help when you are stuck and so on. In other words, be proactive and curious instead of just consuming the content passively.

If you have prior experience with a programming language but not Python, see my curated list of learning resources before starting this book.

The examples presented here have been tested with Python version 3.11.1 and includes features not available in earlier versions.

Скачать Understanding Python re(gex)? Example based guide to mastering Python regular expressions



ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!











ОТСУТСТВУЕТ ССЫЛКА/ НЕ РАБОЧАЯ ССЫЛКА ЕСТЬ РЕШЕНИЕ, ПИШИМ СЮДА!


ПРАВООБЛАДАТЕЛЯМ


СООБЩИТЬ ОБ ОШИБКЕ ИЛИ НЕ РАБОЧЕЙ ССЫЛКЕ



Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.