PythonWin
"Marco" <[email protected]> Mon, 16 Feb 2004 21:37:53 +0100
| Newsgroups | gmane.comp.python.anygui.devel |
|---|---|
| Message-ID | <002c01c3f4cc$c176cd00$a8b9d351@t1z5x8> |
This is a multi-part message in MIME format. ------=_NextPart_000_0029_01C3F4D5.222EA700 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Sirs, I have joined Python developers for two months and anygui for a week (a = newbie, indeed). On my home computer I have the following software: Operating system Windows 98 Python 2.3.2 PythonWin win32all build 157 Tkinter 8.4.3 Mswgui is the default gui (I checked it too by backend()). But when I = make use of the recommended code: from anygui import * win=3DWindow() app=3DApplication() app.add(win) app.run() =20 I get this message of error: Runtime error! Program: C:\PYTHON23\PYTHONWIN.EXE abnormal program termination=20 On the contrary, by using Tkinter and the following code: import anygui.backends.tkgui as gui win=3Dgui.Window() app=3Dgui.Application() app.add(win) app.run() I just get a Tkinter window. =20 Why this fact? Is it a Pythonwin bug, a Windows bug, an anygui bug, a = virus or anything else? =20 Thank You! =20 Marco Siracusano - [email protected] - Florence (Italy) =20 =20 ------=_NextPart_000_0029_01C3F4D5.222EA700 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2>Dear Sirs,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>I have joined Python developers for two = months and=20 anygui for a week (a newbie, indeed). On my home computer I have = the=20 following software:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Operating system =20 Windows 98</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Python = =20 = =20 2.3.2</FONT></DIV> <DIV><FONT face=3DArial=20 size=3D2>PythonWin &= nbsp; win32all=20 build 157</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Tkinter = =20 = =20 8.4.3</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Mswgui is the default gui (I checked it = too by=20 backend()). But when I make use of the recommended code:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>from anygui import=20 *<BR>win=3DWindow()<BR>app=3DApplication()<BR>app.add(win)<BR>app.run()</= FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I get this message of = error:</FONT></DIV> <DIV> </DIV> <DIV>Runtime error!</DIV> <DIV>Program: C:\PYTHON23\PYTHONWIN.EXE</DIV> <DIV>abnormal program termination </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>On the contrary, by using Tkinter and = the following=20 code:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>import anygui.backends.tkgui as=20 gui<BR>win=3Dgui.Window()<BR>app=3Dgui.Application()<BR>app.add(win)<BR>a= pp.run()</FONT></DIV> <DIV><FONT face=3DArial size=3D2><BR> </DIV></FONT> <DIV><FONT face=3DArial size=3D2>I just get a Tkinter = window.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Why this fact? Is it a Pythonwin bug, a = Windows=20 bug, an anygui bug, a virus or anything else?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thank You!</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Marco Siracusano - <A=20 href=3D"mailto:[email protected]">[email protected]</A> - Florence=20 (Italy)</DIV></FONT> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial = size=3D2><BR> </FONT></DIV></FONT></DIV></BODY></HTML> ------=_NextPart_000_0029_01C3F4D5.222EA700-- ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click