I have a string like this:

66[1,4-6,0]

i want to generate upon this a list like that:

6610,6611,6612,6613,6614,6615,6616,6617,6618,6619,6640,6641,6642,6643,...
6650,6651...
6660,6661...
6600,6601,

this seems to be like python "range" but in reverse

an idea? someone? anyone?



-- 
Kuba

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to