S
Stan Cook
I was trying to take a list of files in a directory and remove all but the ".dbf" files. I used the following to try to remove the items, but they would not remove. Any help would be greatly appreciated.
x = 0
for each in _dbases:
if each[-4:] <> ".dbf":
del each # also tried: del _dbases[x]
x = x + 1
I must be doing something wrong, but it acts as though it is....
signed
.. . . . . at the end of my rope....!
x = 0
for each in _dbases:
if each[-4:] <> ".dbf":
del each # also tried: del _dbases[x]
x = x + 1
I must be doing something wrong, but it acts as though it is....
signed
.. . . . . at the end of my rope....!