Bash-like brace expansion

Peter Waller peter.waller at gmail.com
Tue Mar 24 08:30:14 EDT 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
groups.

On Mar 24, 12:28 pm, Peter Waller <peter.wal... at gmail.com> 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