title: Splitting one line txt file into variables (PYTHON)
body: <p>I have a .txt file that has 20 rows. Each row is a variation of this:</p>
  <p><strong>76C1125477854212562 112544</strong> where:</p>
  <p>var1=76C11</p>
  <p>var2=25477</p>
  <p>var3=85421</p>
  <p>var4=2562</p>
  <p>var5=112544</p>
  <p>I've been looking for ways to split/parse the text file so I can iterate over the 20 rows and split it accordingly in python. I have tried parsing and splitting through split() but it wouldn't work since I have no line breaks. I've also tried adding line breaks at specific places and haven't been able to find resources to help me with that. Any help is appreciated!</p>
  <p>So far:</p>
  <pre class="lang-py prettyprint-override"><code>file = open('FileName.txt','r')
  read = file.readlines()
  </code></pre>