[python-win32] Windows GUI programming with Python?
Werner F. Bruhin
werner.bruhin at free.fr
Mon Sep 15 09:45:36 CEST 2008
Siegfried,
siegfried wrote:
> I just finished trying out the sample program scribble in "Python
> Programming in Win32". While I
>
> carefully cut and pasted from my soft copy of the book, I could not
>
> create a new document. When I finally found the source code download
>
> URL hidden in the chm file, the zip file was corrupted!
>
>
>
> This program is more what I am looking for:
> http://aspn.activestate.com/ASPN/Mail/Message/ActivePython/1775844
>
>
>
> Unfortunately it does not work. Apparently I don't have to use
> ActiveStatePython (according to a poster in the nntp group). Where can I
> find similar source code that works
>
> that displays a simple window and lets me call other exotic window
>
> functions like LoadKeyboardLayout, MapVirtualKeyEx, ToUnicodeEx. That
>
> latter function produces Unicode strings and since I don't know how to
> display
>
> Cyrillic in a console mode app, I'm thinking I'll create a window to
>
> display it in. I'll need to know how to load a font in python too ---
>
> anyone got an example of that too?
You might want to look into wxPython. It is a GUI library wrapping
wxWidgets.
Make sure to download the demo and use the Unicode version. In the demo
look for the styledtextctrl_1 and/or the RichTextCtrl it should be close
to what you would like to do.
Werner
>
>
>
>
>
>
>
> thanks!
>
> Siegfried
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
More information about the python-win32
mailing list