I want to create pyqt widget like in MS Office or OOo print dialogs, that allows to input sets of ranges like "1, 3-4, 7-9"
. Does python have built-in tool or third party package for converting such strings into lists? For example:
"1, 3-4, 7-9" => [1,3,4,7,8,9]
ps: How this widget called?