title: Google Maps API with Django is not displayed when trying to bring data from a txt
body: <p>I have the following problem. I have embedded a map using Google Maps' API. My intention is to bring some values from a .txt (cordenates), put them into a list, and then display them in the Map, with lines between each point.
  I have no problem doing this if I put the values manually in the list. But when I try to get them from the .txt file, the map is not shown in my page (the place where it should be is blank). BUT if I check in the source code the Script, it doesn't appear to have any problem... each point is shown as it should inside of the Script.
  This is a part from my View:</p>
  
  <p>def base (request):</p>
  
  <pre><code> analyze_results('testing')
   with open('data.txt') as f:
       for line in f:
          words = line.split()
          points.append(words[1]+','+words[3])
   return render_to_response('base.html', {'points': points, 'user_data': user_data})
  </code></pre>
  
  <p>points = []</p>
  
  <p>If I manually asign the points list, and take away the</p>
  
  <p>with open('data.txt') as f:</p>
  
  <pre><code>    for line in f:
          words = line.split()
          points.append(words[1]+','+words[3])
  </code></pre>
  
  <p>it works perfectly.</p>
  
  <p>Do you know what may be the problem?</p>