title: What is the simplest way to upload a file in Python from a web browser?
body: <p>I have searched.  Everything I can find is a huge file.  It can't be that hard.  C# has a SaveAs, PHP uses the $_FILES array.  Python was all over the place.  Cgi, httprequest, urllib, urllib2, httplib2, how to do it in Django, Pylons, Flask, etc.  Java was complex as well.</p>
  
  <p>All I want to know, please, is what is the most super-basic way to upload a file from a webpage.</p>
  
  <p>Python 2.7 or Python 3 made no difference in my search.</p>
  
  <p>Any help is appreciated.</p>
  
  <p>EDIT:  For clarification, I mean like any webpage that has the "Upload" button.  Could be here, Craiglist, anything.  All I really want to do is upload an image file and save it on the server.</p>
  
  <p>EDIT:  Part of the problem is there are so many libraries and everyone saying to use x.</p>
  
  <p>EDIT:  The server could be Apache or IIS.</p>