title: Open function with CSV file on Python
body: <p>Okay, what I want to do is to write something into a CSV file. I'm doing this:</p>
  
  <pre><code>directory = open('docs/directory.csv', 'a+', encoding='utf-8')
  name = input('Please insert a name: ')
  phone = input('Please insert a phone number: ')
  
  directory.write(name + ',' + phone + ',\n')
  
  print(directory.read())
  </code></pre>
  
  <p>I use <code>'a+'</code> to append every line at the end of the file. Here everything is okay, the data is being added to the end of the file everytime I run the script, but the problem is that the data is not being showed at the end, apparently, the <code>read()</code> function is not working.</p>
  
  <p>Am I doing something wrong? Could you help me with this please? Thanks.</p>