I know I can get the immediate contents of a directory with glob.glob("dir/*"). I can also get all of the contents of the subdirectories recusively with something like glob.glob("dir/**/*"), but this will not contain the direct contents of dir/. Is there any glob pattern that will give me the union of the two; everything inside of dir/, recursively?
Edit:
In case I am XY probleming too hard here, I am working on a setup.py script and want to include an entire directory as package_data. I am currently doing package_data=["resources/*", "resources/**/*"], but that seems a bit strange to me...