Programming and Algorithms: Week 30


Strings and Serialization
What are we doing this week?

This week we are going to look at STRING MANIPULATION and STRING FORMATTING, as well as the use of REGULAR EXPRESSIONS.

Python Python Logo

Powerpoint: String Manipulation

Powerpoint: Regular Expressions

Total running time of videos is 40 minutes.

Sample Code:
BasicStrings * MoreStringFunctions * KeywordArguments * KeywordArguments-mixed * EscapingBraces * StringFormatting * StringFunctions * ContainerLookups * ContainerLookups2 * ObjectLookups * MatchingPatterns * MatchingPatterns-arguments * MatchingPatterns-singlecharacters * MatchingPatterns-multiplecharacters * GettingInformation

Python String Formatting

Let's Learn Python - Regular Expressions

PyFormat: Using % and .format() for great good! Python Strings

Python Docs: Regular Expression Operations

Lab #30
Lab #30 is all about checking if what you have learned in the episodes above all makes sense, and if you can use Python's string formatting features.


If you have any suggestions, corrections, or comments, please feel free to e-mail me at: