I have around 100 ASCII files in a folder. I will apply some processing on each ASCII file and save them as raster files.
In order to work with each ASCII file I have created the following access:
workspace = "C:\\ASCII\\195 0"
foldername = join(workspace, '*.asc')
AsciiFiles = glob.glob(folde rname)
The result is a list like :
[‘'C: \\1950-1.asc', 'C: \\1950-2.asc', 'C\1950-3.asc']
...