title: I want to read data from a text file and transform it into list of transactions
body: <p>I have a text file with data and I want to read this data to a list.</p>
  
  <p><img src="https://i.stack.imgur.com/pHJze.png" alt="enter image description here"></p>
  
  <p>I have tried this code, it covert it into list but it adds a double quotations around each line</p>
  
  <pre><code>file = 'filepath'
  data = [line.rstrip('\n') for line in open(file)]
  </code></pre>
  
  <p>Instead of double quotes around each line I want round brackets "(" around each line</p>
  
  <p><img src="https://i.stack.imgur.com/OLq06.png" alt="enter image description here"></p>