Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import os,sys
- args = sys.argv[1:]
- myfile = '/gpfs_common/mobyle_share/data/'+str(args[0])+'/inputfile1.data'
- print myfile
- print os.path.exists(myfile)
- with open(myfile) as f:
- content = f.readlines()
- print content
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement