I want to use the code from example 4 here to iterate over many files:
I tried to look up some documentation about pymol, I think maybe "glob" could be used but idon't really understand it. I found this post here, but couldn't really conenct the two codes together:
I would appreciate if someone could help. P.s. I'm new to both pymol and python.