How to use only the globe:
:
>>> glob.glob('*')
['fee.py', 'foo.py', 'hello.txt', 'hello1.txt', 'test.txt', 'text.txt']
>>>
hello.txt:
>>> glob.glob('hello*.txt')
['hello.txt', 'hello1.txt']
>>>
hello:
>>> glob.glob('[!hello]*')
['fee.py', 'foo.py', 'test.txt', 'text.txt']
>>>
hello, .txt:
>>> glob.glob('[!hello]*.txt')
['test.txt', 'text.txt']
>>>