Relative Content

Tag Archive for pythonfilenames

Get Python to list files ending in ” 2″

I am trying to develop a Python program that will process files ending in ” 2″. As a start I have obtained a program from Gemini that will simply print files ending in ” 2″ but it does not work and I cannot figure out why. One version of Python code that does not work is: