Re: [Tutor] How to iterate through unicode string.

2009-09-04 Thread David Stanek
Is the encoding of your file set? On 9/4/09, zhang allen wrote: > Hi Christian, > > Thanks for your tip. > > But it seems to me still not working again. > > i wirte this python code > > k = [] > s = u'Büro' > for c in s: > k.append(c) > print k > > k=[u'B', u'\xa8', u'\xb9', u'r', u'o'] > >

Re: [Tutor] Replacement for __del__

2009-05-19 Thread David Stanek
On Tue, May 19, 2009 at 5:55 AM, spir wrote: > Le Tue, 19 May 2009 09:12:34 +0200, > "A.T.Hofkamp" s'exprima ainsi: > >> A folder is created during object instantiation. > > Do you mean a filesytem directory? I may be wrong, bit it seems there is a > bit of confusion between things and their rep