from Tkinter import*

i am trying to do that same in Wx, but i always get UnicodeError:

import wx
okno = wx.App(0)

and the eror is:

Traceback (most recent call last):
  File "C:\Documents and Settings\Blu\Plocha\", line 4, in -toplevel-
  File "C:\Python24\lib\site-packages\wx-2.6-msw-ansi\wx\", line 1016, in __init__
    newobj = _controls_.new_StaticBox(*args, **kwargs)
  File "C:\Python24\lib\encodings\", line 18, in encode
    return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u2208' in position 0: character maps to <undefined>

do you know what is the problem?

Thanks for all post

wxPython comes in an ansi and a unicode version, you need to install the unicode version.

ye, i downloaded it, and now it works fine. Thanks;)

Glad it works now! Actually the ansi version is just mildly smaller than the more generally useful unicode version, so I don't know why the wxPython folks even bothered with the ansi version.

This question has already been answered. Start a new discussion instead.