Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
Due to its power, simplicity, and complete object model, Python has become the scripting language of choice for many large organizations, including Google, Yahoo, and IBM. In Python 3 Essential Training, Bill Weinman demonstrates how to use Python 3 to create well-designed scripts and maintain existing projects. This course covers the basics of the language syntax and usage, as well as advanced features such as objects, generators, and exceptions. Example projects include a normalized database interface and a complete working CRUD application. Exercise files accompany the course.
Regular expressions are a very powerful method for matching patterns in text. Regular expressions are used for a variety of purposes, from simple search and replace operations to complex text and data file manipulation. Regular expressions are actually a small language in itself. Regular expressions can be very simple or they can be very complex. Entire books have been written on the subject of regular expressions. If you are moderately familiar with how they work and what they look like, you can get a lot of power out of them using Python's regular expression module.
Regular expressions are implemented in Python with the re module. This is Python's regular expression module and it's distributed with Python. So if you have Python, you have the re module. How it works looks like this. You import re and you compile a pattern and then you use the pattern to search and replace or to perform whatever manipulations you are going to perform using the regular expressions. So let's go ahead and look at how we use regular expressions in Python.
Find answers to the most frequently asked questions about Python 3 Essential Training.
Here are the FAQs that matched your search "":
Sorry, there are no matches for your search ""—to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.