Xlib in Python? I need XDrawString()

2005-02-26 Thread Artificial Life
All I really want is to write a few strings to the background of my X display. XDrawString() is what I need. The Xlib for Python shows it's out dated. Is there any alternative? -- http://mail.python.org/mailman/listinfo/python-list

Re: sockets question

2005-02-25 Thread Artificial Life
On Sat, 26 Feb 2005 00:35:57 -0500, Mohammed Smadi wrote: > hi; > > i have the following piece of code: > = > s = socket.socket(socket.AF_INET,socket.SOCK_DGRAM) > s.bind(("",port)) > s.sendto(data,(MY_GW,port)) > data = s.recvfrom(1024) > > > data contains some instr

urllib2 meta-refresh

2005-02-25 Thread Artificial Life
urllib2 does not seem to be able to handle META-REFRESH in an html document. I just get back the html to the page that is supposed to forward me to the intended page. Any way around this? -- http://mail.python.org/mailman/listinfo/python-list