- Timestamp:
- Jun 18, 2016, 2:57:17 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic_tools.py
r864 r873 5288 5288 # ins = folder + "/" + headfile + "*" 5289 5289 ins = folder + "/" 5290 print 'ins:',ins5290 # print 'ins:',ins 5291 5291 files = sub.Popen(["/bin/ls","-1",ins], stdout=sub.PIPE) 5292 5292 fileslist = files.communicate() 5293 listfiles0 = str(fileslist). split('\\n')5293 listfiles0 = str(fileslist).replace("'",'').replace('(','').replace(')','').split('\\n') 5294 5294 5295 5295 # Filtering output
Note: See TracChangeset
for help on using the changeset viewer.