V Tue, 29 Nov 2005 10:14:26 +, Neil Hodgson napsal(a):
> David Siroky:
>
>> output = ''
>
> I suspect you really want "output = u''" here.
>
>> for c in line:
>> if not unicodedata.combining(c):
>>
Hi!
I need to enlighten myself in Python unicode speed and implementation.
My platform is AMD [EMAIL PROTECTED] (x86-32), Debian, Python 2.4.
First a simple example (and time results):
x = "a"*5000
real0m0.195s
user0m0.144s
sys 0m0.046s
x = u"a"*5000
real0m2.477s
user
V Sat, 09 Jul 2005 11:48:51 -0700, ncf napsal(a):
> Python is compiling the files with absolute paths because it is much
> faster to load a file when you know where it is, than to have to find
> it and then load it.
>
> I'm guessing you're wondering this so you can distribute it compiled or
> suc
V Sat, 09 Jul 2005 10:22:06 -0400, Peter Hansen napsal(a):
> David Siroky wrote:
>> When I "compile" my python files with "python -OO " into pyo files
>> then they still contain absolute paths of the source files which is
>> undesirable for me. How
Hi!
When I "compile" my python files with "python -OO " into pyo files
then they still contain absolute paths of the source files which is
undesirable for me. How can I deal with that?
Thank you.
David
--
http://mail.python.org/mailman/listinfo/python-list