Advertisement
gronke

Untitled

Feb 18th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import os,sys
  2. args = sys.argv[1:]
  3.  
  4. myfile = '/gpfs_common/mobyle_share/data/'+str(args[0])+'/inputfile1.data'
  5.  
  6. print myfile
  7.  
  8. print os.path.exists(myfile)
  9.  
  10. with open(myfile) as f:
  11.     content = f.readlines()
  12.  
  13. print content
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement