Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Midterm Exam 2 Review Spring 2006: The Cover-Up



Has anyone figured this one out?

Try attacking this problem top-down. First, write a function that calls 'replaceInitials' but initially just have replaceInitials do nothing. Then work out how to have replaceInitials open each file in turn, do something very trivial to it (e.g. append your initials at the end of the file), and then close it. Finally, having got that working, make replaceInitials search for your initials in the currently open file and replace them. Colin Potts



Link to this Page