title: Removing newline characters in a txt files
body: <p>I'm doing Euler Problems and am at <a href="https://projecteuler.net/problem=8" rel="nofollow noreferrer">problem #8</a> and wanted to just copy this huge 1000-digit number to a numberToProblem8.txt file and then just read it into my script but I can't find a good way to remove newlines from it. With that code:</p>
  
  <pre><code>hugeNumberAsStr = ''
  
  with open('numberToProblem8.txt') as f:
      for line in f:
          aSingleLine = line.strip()
          hugeNumberAsStr.join(aSingleLine)
  
  print(hugeNumberAsStr)
  </code></pre>
  
  <p>Im using print() to only check if it works and well, it doesnt. It doesnt print out anything. What's wrong with my code? I remove all the trash with strip() and then use join() to add that cleaned line into hugeNumberAsStr (need a string to join those lines, gonna use int() later on) and its repeated for all the lines. 
  <a href="https://gist.github.com/doublemc/cd7c5a96dbf6065f1215530b4a22fb11" rel="nofollow noreferrer">Here is the .txt file with a number in it.</a></p>