Re: Submit form, open result in a browser

2007-07-27 Thread theju
> Is there a way to submit a form and then open the resulting page in the > default browser? (Writing the form submission code is not a problem by > the way) There is a library called "Client Form" that does this for you. wwwsearch.sourceforge.net/ClientForm/ > I guess what I'm asking is how I ca

Re: Usage of the __and__ method

2007-05-31 Thread theju
Thank you folks for reminding me that the logical AND cannot be over- ridden and that the __and__ method represents the bit-wise AND operation. Thank You Thejaswi Puthraya http://thejuhyd.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list

Usage of the __and__ method

2007-05-30 Thread theju
Hello all, I've two objects (both instances of a class called Person) and I want to use the __and__ method and print the combined attributes of the two instances. To be precise, here is my code class Person: def __init__(self,name): self.name = name def print_name(self):

Re: How to change font direction?

2006-09-15 Thread theju
width,height,spacing,a="Defaulttext"): for i in range(0,len(a)): draw.text((width,height),a[len(a)-i-1],()) width += spacing is a 3 field length tuple is mentioned in the PIL-Handbook. Hope you find it useful -Theju Daniel Mark wrote: > Hello a