skip to navigation skip to content
Instructor-led course

Provided by: University Information Services



2012


2013


2014


2016


2017


2020



Register interest
Register your interest - if you would be interested in additional dates being scheduled.


Events available

Python: Regular Expressions
Prerequisites


Description

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.

Prerequisites
  • 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.
Topics covered
  • Simple regular expressions
  • Use of regular expressions in Python: the re module
Format

Presentation/demonstration with practicals.

System requirements

Python v. 3 on PWF Linux

Notes
  • 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.
Duration

One half day session

Themes

Events available

Override user: