2-D drawing/map with python

2013-03-12 Thread Huseyin Emre Guner
Hello, I am newbie in Python. I would like to make a project using python. The main ideo of this project is that a user enters the x,y values to the Gui(PyQt or Gtk) and then a 2-D map is plotted due to the x,y values. First, I use Pygame commands "(pygame.draw.line(window, (255, 255, 255), (10

CGI File Upload Problem with Python 3.1 on IIS 7

2010-02-25 Thread huseyin
I am trying to upload files through cgi script written in python 3.1 on a Windows IIS 7 server. The server time out when I write in usual way that is form=cgi.cgi.FieldStorage() fileitem = form['filename'] fn = os.path.basename(fileitem.filename) open('/tmp/' + fn, 'wb').write(fileitem.file.read()