title: How do I parse a string in Python and obtain different datatypes out of it?
body: <p>I have a string which is part of a list of the following form:-</p>
  <pre><code>[
  '&lt;Item Name1 (String with alphanumeric characters)&gt; &lt;Quantity1 (Int)&gt; x &lt;currency string&gt; &lt;Price1 (Float)&gt;',
  '&lt;Item Name2 (String with alphanumeric characters)&gt; &lt;Quantity2 (Int)&gt; x &lt;currency string&gt; &lt;Price2 (Float)&gt;',
  '&lt;Item Name3 (String with alphanumeric characters)&gt; &lt;Quantity3 (Int)&gt; x &lt;currency string&gt; &lt;Price3 (Float)&gt;',
  ...]
  </code></pre>
  <p>How can parse this in the easiest form possible? Preferably something without regex, but I don't mind looking for a regex option if it is the simplest, since I just want the easiest way to do it.</p>
  <p>EDIT:- Sample Input List</p>
  <pre><code>[
  'Bananas Bunch 1 x EUR 3.99', 'Apples 5 x EUR 5.00', ....
  ]
  </code></pre>
  <p>Sample Output List</p>
  <pre><code>[
    {
      &quot;name&quot; : &quot;Bananas Bunch&quot;, &quot;quantity&quot; : 1, &quot;price&quot;: 3.99
    },
    {
      &quot;name&quot; : &quot;Apples&quot;, &quot;quantity&quot; : 5, &quot;price&quot;: 5.00
    }....
  ]
  </code></pre>