I run my script with doc1/*.png as first argument, but it gets converted to doc1/image1.png.
doc1/*.png
doc1/image1.png
How can I let Python see the exact argument?<
As @Jean-François Fabre sais, it is possible to use wildcards on windows using glob module.
import glob paths = glob.glob('C:\path\with\wildcard.*')