Message363416
This seems to be similar to issue9584. Below are the results in my zsh and bash in Mac.
bash
bash-3.2$ cd /tmp/
bash-3.2$ ls *py
hello_1.py hello_2.py hello_3.py
bash-3.2$ ls hell*{1-2}.*
ls: hell*{1-2}.*: No such file or directory
bash-3.2$ ls hell*[1-2].*
hello_1.py hello_2.py
zsh
➜ /tmp ls *py
hello_1.py hello_2.py hello_3.py
➜ /tmp ls hell*{1-2}.*
zsh: no matches found: hell*{1-2}.*
➜ /tmp ls hell*[1-2].*
hello_1.py hello_2.py
Try using []
>>> import glob
>>> glob.glob("hell*[1-2].*")
['hello_2.py', 'hello_1.py'] |
|
Date |
User |
Action |
Args |
2020-03-05 03:58:45 | xtreak | set | recipients:
+ xtreak, serhiy.storchaka, Je GeVa |
2020-03-05 03:58:45 | xtreak | set | messageid: <1583380725.56.0.158676351374.issue39856@roundup.psfhosted.org> |
2020-03-05 03:58:45 | xtreak | link | issue39856 messages |
2020-03-05 03:58:45 | xtreak | create | |
|