I have a string (column names) that I need to split.

D_H = 'D 5 10 15 20 25 30 35 40 D Upper D Lower'

I cannot do a simple list(D_H).split because the last two strings have a
space between them (D Upper and D Lower are two, not four labels).

Any suggestions?
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to