Changes between Version 28 and Version 29 of EducationalAssignments/SecurityLayerPartTwo

Changes between Version 28 and Version 29 of EducationalAssignments/SecurityLayerPartTwo

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 28 and Version 29 of EducationalAssignments/SecurityLayerPartTwo

Please note that these Trac pages are no longer being updated. Wiki contents/documentation have moved to GitHub.

Changes between Version 28 and Version 29 of EducationalAssignments/SecurityLayerPartTwo

Show
Ignore:
Timestamp:
05/23/12 11:09:14 (7 years ago)
Author:
justinc
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EducationalAssignments/SecurityLayerPartTwo

    v28 v29  
    7070# Attempt to write "MZ" to the file 
    7171try: 
    72         myfile.writeat("MZ",0) 
     72  myfile.writeat("MZ",0) 
    7373  
    7474# It raised an Exception (as it was supposed to): 
     
    8282finally: 
    8383  # Close the file after our attempt. 
    84         myfile.close() 
     84  myfile.close() 
    8585}}} 
    8686==== Code analysis ==== 
     
    105105# Attempt to write "MZ" to the file 
    106106try: 
    107         myfile.writeat("MZ",1) 
     107  myfile.writeat("MZ",1) 
    108108  
    109109# It raised an Exception : 
     
    117117finally: 
    118118  # Close the file after our attempt. 
    119         myfile.close() 
     119  myfile.close() 
    120120}}} 
    121121==== Code analysis ====