wxPython: help(wx) causes segfaulting?

André andre.roberge at gmail.com
Mon Feb 27 07:55:15 EST 2006


Franz Steinhaeusler wrote:
> On Sun, 26 Feb 2006 10:35:13 -0600, Tim Chase
> <python.list at tim.thechases.com> wrote:
>
> >Trying to get my feet wet with wxPython (moving from just
> >command-line apps), I tried the obvious (or, at least to me
> >was obvious):
> >
> >Start python, "import wx" and then do a "help(wx)" to see
> >what it can tell me.
>
> I tried it on Windows Xp, and I got also a traceback:
>
> >>> help (wx)
> Traceback (most recent call last):
[snip]

I don't seem to have any problem (except that it takes a while to load)

C:\Documents and Settings\André>python
ActivePython 2.4.2 Build 248 (ActiveState Corp.) based on
Python 2.4.2 (#67, Oct 30 2005, 16:11:18) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> help(wx)
Help on package wx:

NAME
    wx

FILE
    c:\python24\lib\site-packages\wx-2.6-msw-unicode\wx\__init__.py

DESCRIPTION

#---------------------------------------------------------------------------
-
    # Name:         __init__.py
    # Purpose:      The presence of this file turns this directory into
a
    #               Python package.
    #
    # Author:       Robin Dunn
    #
    # Created:      8-Aug-1998
    # RCS-ID:       $Id: __init__.py,v 1.11 2005/06/02 03:31:17 RD Exp
$
    # Copyright:    (c) 1998 by Total Control Software
    # Licence:      wxWindows license

#---------------------------------------------------------------------------
-

PACKAGE CONTENTS
    __version__
    _activex
    _animate
    _calendar
-- More  --

However, please note that your (Original Poster) time would probably be
better invested by looking at the very comprehensive wxPython demo (it
may require a separate download).

André




More information about the Python-list mailing list