title: How to fix "TypeError: must be str, not _io.TextIOWrapper" error in python
body: <p>I am a beginner in Python and was trying to make a small program to record changes in money. When I try and use information stored in the file 'amount.txt' an error occurs and states 'TypeError: must be str, not _io.TextIOWrapper' How can I fix this and still use the data from 'amount.txt'?</p>
  
  <pre><code>dollars = open("Amount.txt", "r")
  print("Current Updated Total: ($" + dollars + ")")
                                      ^This is where the problem occurs
  </code></pre>
  
  <p>I expect the output to state 'Current Updated Total: ($100)'
  The actual output however is 'TypeError: must be str, not _io.TextIOWrapper'</p>