Exceptions and unicode messages

manish kurup tomanishkb at gmail.com
Wed Mar 21 07:20:59 EDT 2007


Hey anybody please tell me...
How we can get the properties of a file in python....

On 3/21/07, Tuomas <tuomas.vesterinen at pp.inet.fi> wrote:
>
> This works:
> >>> raise StandardError(u'Wrong type')
> Traceback (most recent call last):
>    File "<stdin>", line 1, in ?
> StandardError: Wrong type
>
> but don't in Finnish:
> >>> raise StandardError(u'Väärä tyyppi')
> Traceback (most recent call last):
>    File "<stdin>", line 1, in ?
> StandardError>>>
> >>>
>
> Any solution in Python?
>
> TV
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070321/337e6d44/attachment.html>


More information about the Python-list mailing list