Changes between Version 4 and Version 5 of Tutorials/ControllingDataOutput
- Timestamp:
- 09/21/08 01:51:14 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/ControllingDataOutput
v4 v5 74 74 hierarchy = 'RD0033.hierarchy' 75 75 old, new = '/dsgpfs/harkness/NewL7/Dumps/RD0033/','/gpfs/ux455215/L7/RD0033/' 76 new_lines = [line.replace(old, new) for line in open(hierarchy)]76 new_lines = (line.replace(old, new) for line in open(hierarchy)) 77 77 open("%s.new" % hierarchy).writelines(new_lines) 78 78 }}}
