Python: Regular Expressions Prerequisites
This course is part of the Scientific Computing series.
This course explains how to construct and use regular expressions in Python (using the re module). It does not discuss how to construct complex regular expressions, nor does it cover regular expressions themselves in much detail, rather it focuses on how to use regular expressions in Python.
For a detailed discussion of regular expressions see the "Pattern Matching Using Regular Expressions" course.
- Prior attendance at one of the "Python Introduction for Absolute Beginners" or "Python Introduction for Programmers" courses or equivalent experience.
- Those attending should be able to use a plain text editor (e.g. emacs, gedit, pico, vi) on a Unix system as might be obtained from the Emacs or Vi introductory courses.
- Simple regular expressions
- Use of regular expressions in Python: the re module
Presentation/demonstration with practicals.
Python v. 3 on PWF Linux
- This course is unsuitable for those who have no experience of Python.
- As this course is part of the Scientific Computing series, the examples chosen tend to be of most relevance to scientific programming.
- Those attending this course may also be interested in the "Pattern Matching Using Regular Expressions" course.
- Those attending this course may also be interested in the "Python Further Topics" course.
One half day session
Events available