How to create a list of files using wildcat and Python?

Question

How to create a list of files using wildcat and Python?

Re: How to create a list of files using wildcat and Python?

The glob module provides a function forcreating such list
>> import glob
>>> glob.glob('*.py')