Re: How to print first(national) char from unicode string encoded inutf-8?

2008-09-02 Thread sniipe
On 2 Wrz, 10:17, [EMAIL PROTECTED] wrote: > On 2 Wrz, 06:05, "Mark Tolonen" <[EMAIL PROTECTED]> wrote: > > > > > "Marco Bizzarri" <[EMAIL PROTECTED]> wrote in message > > >news:[EMAIL PROTECTED] > > > > On Mon, Sep 1, 2008 at 3:25 PM, <[EMAIL PROTECTED]> wrote: > > > >> When I do ${urllib.unquote(

Re: How to print first(national) char from unicode string encoded inutf-8?

2008-09-02 Thread sniipe
On 2 Wrz, 06:05, "Mark Tolonen" <[EMAIL PROTECTED]> wrote: > "Marco Bizzarri" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > > > On Mon, Sep 1, 2008 at 3:25 PM, <[EMAIL PROTECTED]> wrote: > > >> When I do ${urllib.unquote(c.user.firstName)} without encoding to > >> latin-1 I

Re: How to print first(national) char from unicode string encoded in utf-8?

2008-09-01 Thread sniipe
On 1 Wrz, 15:10, "Marco Bizzarri" <[EMAIL PROTECTED]> wrote: > 2008/9/1 <[EMAIL PROTECTED]>: > > > > > Hi, > > > I have a problem with unicode string in Pylons templates(Mako). I will > > print first char from my string encoded in UTF-8 and urllib.quote(), > > for example string 'Łukasz': > > > ${

How to print first(national) char from unicode string encoded in utf-8?

2008-09-01 Thread sniipe
Hi, I have a problem with unicode string in Pylons templates(Mako). I will print first char from my string encoded in UTF-8 and urllib.quote(), for example string 'Łukasz': ${urllib.unquote(c.user.firstName).encode('latin-1')[0:1]} and I received this information: : 'utf8' codec can't decode by

https in pylons

2008-07-18 Thread sniipe
Hello, I have a question about framework pylons - how to run(in paster) webpages over https? Is it possible, or not? Best regards -- http://mail.python.org/mailman/listinfo/python-list

I am looking for svn library(module)

2008-07-07 Thread sniipe
Hi, I am looking fo svn library(module) which is used in the svn- mailer(http://opensource.perlig.de/svnmailer/) project. Does anybody know where can I find it(download url)? This is information which I received from python error: from svn import core as svn_core ImportError: No module named svn

Re: Difference between two dates

2008-06-24 Thread sniipe
Thank you for answers :) I used Cédric Lucantis's way to resolve this problem and it works :D -- http://mail.python.org/mailman/listinfo/python-list

Re: Difference between two dates

2008-06-24 Thread sniipe
Thank you for answers. I used Cédric Lucantis's way to resolve this problem and it works :D -- http://mail.python.org/mailman/listinfo/python-list

Difference between two dates

2008-06-24 Thread sniipe
Hi! I am new in Python, so I count for your help. I need to get difference in months between two dates. How to do it in python? I am substracting two dates, for example date1 - date2 and I got result in days, how to change it? Best regards -- http://mail.python.org/mailman/listinfo/python-list