Advertisement
Guest User

Python error

a guest
Aug 4th, 2012
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  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. ./emill.py: 8: ./emill.py: Syntax error: "(" unexpected
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement