This would indeed be a nice feature.
The glob module is only 75 lines of pure python. Perhaps you would
like
to enhance it? Take a look.
--
http://mail.python.org/mailman/listinfo/python-list
You just need to literlize them with a forward slash.
" globber = '/home/zhomer/test/{dir1*,dir2*}/{subdir1,subdir2}'
globlist = glob.glob(globber) "
globber = '/home/zhomer/test/\{dir1*,dir2*\}/\{subdir1,subdir2\}'
globlist = glob.glob(globber)
See if that works for you.
--
http://mail.pytho
Someone please let me know if I'm sending this to the
wrong email alias...
I'm wondering why we can't use the glob module
to glob with curly brackets like we can from
the command line (at least in tcsh). Is there a shell standard
for which the python glob module has been designed which
prevents t