File and Exception Solutions

Solutions to selected exercises from Chap.  7 .

  • PDF / 1,743,810 Bytes
  • 11 Pages / 439.37 x 666.142 pts Page_size
  • 3 Downloads / 235 Views

DOWNLOAD

REPORT


15

Solution to Exercise 141: Display the Head of a File

© Springer International Publishing Switzerland 2014 B. Stephenson, The Python Workbook, DOI 10.1007/978-3-319-14240-1_15

145

146

15 File and Exception Solutions

Solution to Exercise 142: Display the Tail of a File

Solution to Exercise 143: Concatenate Multiple Files

Solution to Exercise 143: Concatenate Multiple Files

Solution to Exercise 148: Sum a List of Numbers

147

148

15 File and Exception Solutions

Solution to Exercise 150: Remove Comments

Solution to Exercise 151: Two Word Random Password

Solution to Exercise 151: Two Word Random Password

Solution to Exercise 153: A Book with No “e” …

149

150

15 File and Exception Solutions

Solution to Exercise 154: Names that Reached Number One

Solution to Exercise 154: Names that Reached Number One

151

152

Solution to Exercise 158: Spell Checker

15 File and Exception Solutions

Solution to Exercise 158: Spell Checker

Solution to Exercise 160: Redacting Text in a File

153

154

15 File and Exception Solutions

Solution to Exercise 161: Missing Comments

Solution to Exercise 161: Missing Comments

155