Bash-like brace expansion

Peter Waller peter.waller at
Tue Mar 24 13:30:14 CET 2009

Okay, yuck. I didn't realise that posting would mangle the code so
badly. Is there any better way to attach code? I'm using google

On Mar 24, 12:28 pm, Peter Waller <peter.wal... at> wrote:
> Okay, I got fed up with there not being any (obvious) good examples of
> how to do bash-like brace expansion in Python, so I wrote it myself.
> Here it is for all to enjoy!
> If anyone has any better solutions or any other examples of how to do
> this, I'd be glad to hear from them.
> <snip>

More information about the Python-list mailing list