[OT]Could anyone send me a copy of "timeout sockets for jython"

2007-01-24 Thread Slowness Chen
The information about this module: http://www.xhaus.com/alan/python/timeout.html I can't access the download url due to the severe network issue these days, and I need to use this module for work. Could anyone do me a favor to send a copy? the download url : http://cvs.sourceforge.net/viewcvs.py/

Re: the same strings, different utf-8 repr values?

2006-09-07 Thread Slowness Chen
got it. thanks. John Machin 写道: > [EMAIL PROTECTED] wrote: > > I have two files: > > > > test.py: > > -- > > # -*- encoding : utf8 -*- > > print 'in this file', repr('中文') > > > > # tt.txt is saved as utf8 encoding > > f = file('tt.txt') > > line1 =

the same strings, different utf-8 repr values?

2006-09-07 Thread slowness . chen
I have two files: test.py: -- # -*- encoding : utf8 -*- print 'in this file', repr('中文') # tt.txt is saved as utf8 encoding f = file('tt.txt') line1 = f.readline().strip() print 'another file', repr(line1) ---