----- Original Message -----
Sent: Sunday, December 16, 2007 5:47
PM
Subject: [Csnd] Re: Re: Suggested Python
Version (WinXPSP2) ?
I'm running Python 2.5 and wxWidgets usincode 2.8,
I get the warning (this has been so for quite some time),
but the wxController example still do run fine.
There must be something else that is wrong with Panos' system.
And btw.
to rewrite the example to comply with the new wx module:
1
replace "from wxPython.wx import * "
with "import wx"
2
and then change all references to wx objects from wxX to wx.X
(for example wxWindow becomes wx.Window)
3
Then prepend wx. to the event handler calls
(for example EVT_BUTTON becomes wx.EVT_BUTTON)
best
Oeyvind
2007/12/15, Michael Gogins <gogins@pipeline.com>:
For
what it's worth, I uninstalled Csound from my work computer (Windows XP SP2)
and installed Python 2.5.1 over my existing Python 2.5.
I ran
examples\koch.py without a problem.
I tried to run wxcontroller.py
and it failed. I installed the latest Unicode wxPython. It still failed. The
error messages indicate that a wxPython compatibility mode that must have
been used to write the script is no longer being maintained.
I tried
the examples\python_demo\PythonDemo.py script as well. It fared better, but
failed because some bitmaps for the toolbar are missing.
It seems
examples that use wxPython will have to be rewritten.
Thanks for the
information,
Mike
-----Original Message-----
>From:
Panos Katergiathis <csound@protocol.gr>
>Sent: Dec
14, 2007 5:02 PM
>To: csound@lists.bath.ac.uk
>Subject:
[Csnd] Suggested Python Version (WinXPSP2)
?
>
>Hello
>
>Having installed Csound 5.07 (d) and
Python 2.5.1, most *.py files under
>/examples and /examples/py will
not run. Some of them reported something
>about a missing wx module,
so i looked around, installed the wxPython
>binaries and most *.py
files still won't run (though the report
>different, more complicated
errors now).
>
>What am i missing?
>Is there a "suggested"
python version?
>Something
else?
>
>Panos
>
>
>Send bugs reports to this
list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body
"unsubscribe csound"
Send bugs reports to this
list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body
"unsubscribe csound"