Pygtk Image Load Problem

2008-01-14 Thread Bowen
Hey I have a simple image load written in Python. Here is a link to the pastebin http://pastebin.com/m490093b3 I am having a problem when loading the full screen images, it is displaying a gray line at the bottom of the image as can be seen in this screen shot http://www.xiano.co.uk/image_load.pn

Re: MySQLdb not updating rows

2006-06-28 Thread Bowen
Thanks for that tip, it's a simple script that I am experimenting on, planning to build a custon gui for my database. It is definately something for me to note in the future. Thanks again. -- http://mail.python.org/mailman/listinfo/python-list

Re: MySQLdb not updating rows

2006-06-28 Thread Bowen
Thanks for that, it appears it was the db.commit() that sorted it out.lesson learnt :) -- http://mail.python.org/mailman/listinfo/python-list

MySQLdb not updating rows

2006-06-28 Thread Bowen
import md5 import string import MySQLdb tc = raw_input("Teacher Code: ") p = raw_input("New Password: ") print tc hash = md5.new() hash.update(p) print p print hash.hexdigest() h = hash.hexdigest() boo = raw_input("Sure you want to update password with above details? Y or N: ") if boo == 'y':