Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the function test1() already uses a list of out files!!. To make it more generic:

1: add to the top of the code

import glob

2: knowing the folder name where the out files are stored, in test1() replace the outlst definition with

outlist = glob.glob('examples\*.out') #or full path of folder name. It collects all *.out file into a list