Re: [PyMOL] loading multiple files of the same extension at once in windows.

2014-09-10 Thread T. Nakane
Hi, Try the following in PyMOL's command prompt. from glob import glob for file in glob("path/to/data/*.mol2"): cmd.load(file) Takanori Nakane On 2014-09-10 11:10, ashika torikora wrote: > I don't think I understand what glob does or how to use it. > > 2014-09-10 10:59 GMT+02:00 T. Nakane : >

Re: [PyMOL] loading multiple files of the same extension at once in windows.

2014-09-10 Thread T. Nakane
Hi, > I tried writing a macro where I woul use load *.mol2 but that doesn't > work either. You can use glob in Python. An example is in the "User Comments/Examples" section of http://www.pymolwiki.org/index.php/Load . Best regards, Takanori Nakane On 2014-09-10 08:56, ashika torikora wrote: >