Re: common elements between list of lists and lists

2008-07-17 Thread Bighead
On Jul 17, 4:30 pm, antar2 <[EMAIL PROTECTED]> wrote: > Hello, > > I am a beginner in python. > following program prints the second element in list of lists 4 for the > first elements in list 4 that are common with the elements in list 5 > > list4 = [['1', 'a'],['4', 'd'],['8', 'g']] > list5 = ['1'

Re: About the slot declaration decorator in PyQt4

2008-07-14 Thread Bighead
On Jul 15, 2:04 am, "Sebastian \"lunar\" Wiesner" <[EMAIL PROTECTED]> wrote: > Bighead <[EMAIL PROTECTED]>: > > > I remember when I did UI Design in PyQt4 for the first time, I found a > > manual. In it, no "connect" was used. Instead, an

About the slot declaration decorator in PyQt4

2008-07-14 Thread Bighead
I remember when I did UI Design in PyQt4 for the first time, I found a manual. In it, no "connect" was used. Instead, an OO approach is applied, new UI classes inherit from old ones, and all the slot functions are automatically connected to some signals, using a decorator. In the __init__ function

Re: Writing a CGI to query DB

2007-11-10 Thread Bighead
On Nov 11, 6:20 am, paulC <[EMAIL PROTECTED]> wrote: > On 10 Nov, 04:33, Bighead <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I am currently working on a CGI deployed on an Apache server, which, > > given an arbitrary SQL, fetches raw data from a remote DB se

Re: Writing a CGI to query DB

2007-11-10 Thread Bighead
On Nov 10, 7:18 pm, TheFlyingDutchman <[EMAIL PROTECTED]> wrote: > On Nov 9, 8:33 pm, Bighead <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I am currently working on a CGI deployed on an Apache server, which, > > given an arbitrary SQL, fetches raw data from a

Writing a CGI to query DB

2007-11-09 Thread Bighead
Hi, I am currently working on a CGI deployed on an Apache server, which, given an arbitrary SQL, fetches raw data from a remote DB server and return them in a HTML page. This CGI works fine on quick SQLs. But when I try to run a slow SQL on this CGI, through a Squid Proxy, I always get the Error