Efficient way of parsing string : <p>How would you turn a string that looks like this</p>

<p><code>7.11,8,9:00,9:15,14:30,15:00</code></p>

<p>into this dictionary entry </p>

<p><code>{7.11 : [8, (9:00, 9:15), (14:30, 15:00)]}</code>?</p>

<p>Suppose that the number of time pairs (such as <code>9:00,9:15</code> and <code>14:30,15:00</code> is unknown and you want to have them all as tuple pairs.</p>
