how to theme/skin pyGtk apps
hi again dear group. what i am interested in is giving my pygtk app some distinct look, a lil childish look coz the app is for children. so, i downloaded a couple of themes from http://art.gnome.org/themes/gtk2/ and for the past 1 hr i have been trying to theme my app but with no results. could anyone please guide me on who to theme pygtk and code samples would be greatly appreciated thanks binary-j -- http://mail.python.org/mailman/listinfo/python-list
urllib leaves connections/sockets waiting. BIG problem!!!
hi i am using urllib2 to do some automated web thing. basically i hit on sites and check the price what they are offering for their product and then decide if i want to lower or increase my pricing.so in short i have to hit hundreds of sites! for the problem: = i run 20 threads all do the same stuff. (hit and run :) ) after around 10-15 hits(per thread) hits the thread does nothing. it freezes. slowely but STEADILY all the threads end up with the same fate :( i did some netstat and found out that the connecton(sockets) the program had opened are waiting the CLOSE_WAIT state !! netstat -t tcp1 0 192.168.1.2:4882host-blabla:www CLOSE_WAIT tcp1 0 192.168.1.2:4884host-blabla:www CLOSE_WAIT tcp1 0 192.168.1.2:4375host-blabla:www CLOSE_WAIT OUTPUT OF PROGRAM: THREAD: #Thread-2 getting price from webi-d 7511975 DONE !!! THREAD: #Thread-1 getting price from webi-d 4449152 DONE !!! THREAD: #Thread-2 getting price from webi-d 7466091 DONE !!! THREAD: #Thread-1 getting price from webi-d 8641914 DONE !!! THREAD: #Thread-2 getting price from webi-d 7745289 DONE !!! THREAD: #Thread-1 getting price from webi-d 6032442 DONE !!! THREAD: #Thread-2 getting price from webi-d 8149873 DONE !!! no-price-on-page error THREAD: #Thread-1 getting price from webi-d 5842934 DONE !!! no-price-on-page error THREAD: #Thread-2 getting price from webi-d 3385778 DONE !!! THREAD: #Thread-1 getting price from webi-d 4610122 DONE !!! THREAD: #Thread-2 getting price from webi-d 8641536 DONE !!! THREAD: #Thread-1 getting price from webi-d 4219935 DONE !!! -and thats it, it freezes. i have waited 1hr the sockets have not changed their states! :( please help :) -- http://mail.python.org/mailman/listinfo/python-list
Re: Serving another web site which requires authentication
ur in luck i am an expert at this! tell me the details , site name etc you would have to proxy everything, basically the urls in the copied page have to be changed to point to ur site. its highly possible. a minor adjustment to ur urlconf and it will work. -- http://mail.python.org/mailman/listinfo/python-list
Re: URL encoding
On Mar 24, 7:04 pm, [EMAIL PROTECTED] wrote: > Is there any method in the standard modules that can perform proper > url encoding according to RFC? whats wrong with the current encoding ??? it just works fine!!! or is it that u dont know about urllib.urlencode() ?? -- http://mail.python.org/mailman/listinfo/python-list