LEARNING OBJECTIVES
This
week we are going to look at:
1. Introducing STRING
MANIPULATION and STRING FORMATTING.
2. Reviewing FILE MANAGEMENT.
3. Introducing SERIALIZING OBJECTS.
Videos:
String Manipulation
VIDEO
Regular Expressions
VIDEO
File Management
VIDEO
Exception Handling
VIDEO
Serializing Objects
VIDEO
String
Code:
BasicStrings
* MoreStringFunctions
* KeywordArguments
* KeywordArguments-mixed
*
EscapingBraces
* StringFormatting
* StringFunctions
* ContainerLookups
* ContainerLookups2
* ObjectLookups
* MatchingPatterns
*
MatchingPatterns-arguments
* MatchingPatterns-singlecharacters
*
MatchingPatterns-multiplecharacters
* GettingInformation
File Code:
File Reading (Example
1 , Example 2 ,
Example 3 ,
Example 4 ,
Example 5 ,
Example 6 ,
Example 7 )
* Binary File Reading
* File Writing (Example 1 ,
Example 2 ,
Example 3 ,
Example 4 ,
Example 5 )
* Exception Handling (Example
1 , Example
2 , Example
3 , Example
4 , Example
5 , Example
6 , Example
7 )
Sample Files:
MyData.txt
* MyData2.txt * Python.gif
Serialization Code:
Serializing
Objects
Python String Formatting
VIDEO
Let's Learn Python - Regular Expressions
VIDEO
Pickles
VIDEO
Serialization
with Pickle
VIDEO
Lab #6
Lab
#5 is all about checking if what
you have learned in the episodes
above
all makes sense , and if you can
use the property function in
Python.
If you have any suggestions, corrections, or
comments, please feel free to e-mail me at:
Damian.X.Gordon(a)tudublin.ie