Programming and Algorithms: Week 30

Banner

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



Links
PyFormat: Using % and .format() for great good!
https://pyformat.info/

TutorialsPoint.com: Python Strings
https://www.tutorialspoint.com/python/python_strings.htm


Python Docs: Regular Expression Operations
https://docs.python.org/2/library/re.html


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.




Back

If you have any suggestions, corrections, or comments, please feel free to e-mail me at:
Damian.Gordon(a)dit.ie