[Tutor] UnicodeDecodeError in kinterbasdb

2007-04-05 Thread Andy Koch
;bin' UnicodeDecodeError: 'ascii' codec can't decode byte 0xff in position 237: ordinal not in range(128) .. From searching the web I'm led to think this is related to the default encodings on the machine. But I'm not sure what to do about this

Re: [Tutor] die or exit function?

2006-06-14 Thread Andy Koch
tring + ' ' + str(item) > > excTb = traceback.format_tb(trbk, maxTBlevel) > excTbString = '' > for item in excTb: > excTbString = excTbString + " " + str(item) > > report = "%s %s %s"%(excN

[Tutor] die or exit function?

2006-06-13 Thread Andy Koch
Bkgd: I've been doing PHP for the last several years. Q: In PHP there are functions die and exit which terminate processing of a script with an optional string output. Is there something similar to this in Python? ___ Tutor maillist - Tutor@python.

Re: [Tutor] Problem installing MySQLdb under windows

2006-04-25 Thread Andy Koch
port the new password protocol? And if not, are there plans to implement this? Disclosure: this is my first post in this group, also it may be worth noting that I'm learning python as a side effect of developing a Plone site. So if my python knowledge comes across as a bit warped... well