Advertisement
Guest User

Untitled

a guest
Aug 4th, 2012
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2.  
  3. #Initialise variables and imports
  4. import os.path
  5. DataFile='emill.dat'
  6.  
  7. fileObject = open("emill.dat",'r') #Opens data file
  8. fileContents = fileObject.read()
  9.  
  10. print 'The contents of emill.dat follow'
  11. print fileContents
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement