Lets say i want to work with any CLI path input e.g. one or more file(s) and/or dir(s) to my py-code.
If i get a path like e.g. path/to/some/directory/**/*.txt and i cannot change the string before it goes in my module, how could i work though this just with pathlib and buildins?
I discovered the hard way pathlibs (r)glob methods cannot work such wildcards because the needed input there is split. (I know the glob.glob can do it but thats not wanted here!) So which way could i make this work?