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 :
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)
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 = f.readline().strip()