Ramashish Baranwal wrote:
> I want a way to get the contents in the order of their declaration,
> i.e. [B, A, D]. Does anyone know a way to get it?
>   
My suggestion would be to actually parse the text of the module. "Brute 
force" is what it's called ;). But doing so with, say, pyparsing 
shouldn't be *very* difficult.

Just out of curiosity: Why do you need the order?

W
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to