Hey!
Mam nastepujacy lancuch:
Kod:
s = "one, two three, seven.eight"
Chcialabym otrzymac taka postac:
['one,', 'two', 'three,', 'seven', 'eight']

Probowalam zrobic to w nastepujacy sposob:
Kod:
part = re.split('\s| [,.]+ [.] ',s)
Ale otrzymuje: ['one,', 'two', 'three,', 'seven.eight']

Czy moglabym prosic o jakies wskazowki?