title: How do you open a URL with Python without using a browser?
body: <p>I want to open a URL with Python code but I don't want to use the "webbrowser" module. I tried that already and it worked (It opened the URL in my actual default browser, which is what I DON'T want). So then I tried using urllib (urlopen) and mechanize. Both of them ran fine with my program but neither of them actually sent my request to the website! </p>
  
  <p>Here is part of my code:</p>
  
  <pre><code>finalURL="http://www.locationary.com/access/proxy.jsp?ACTION_TOKEN=proxy_jsp$JspView$SaveAction&amp;inPlaceID=" + str(newPID) + "&amp;xxx_c_1_f_987=" + str(ZA[z])
  
  print finalURL
  
  print ""
  
  br.open(finalURL)
  
  page = urllib2.urlopen(finalURL).read()
  </code></pre>
  
  <p>When I go into the site, locationary.com, it doesn't show that any changes have been made! When I used "webbrowser" though, it did show changes on the website after I submitted my URL. How can I do the same thing that webbrowser does without actually opening a browser?</p>
  
  <p>I think the website wants a "GET"</p>