Hi,
I was wondering if one of you has written a script to migrate old
wxPython 2.4 code to wxPython 2.6? I have been asked to migrate an
application, which is far too big to convert manually. So an (as much
as possible) automatic solution is desired. Or any experiences to
share? If not, I'll write such a script myself and may publish it
under wxWidgets license if anyone else is interested.
Thanks for any reaction,
Stani
I think Boa Constructor features such a script.
-Matthias
···
Am 19.09.2006, 21:38 Uhr, schrieb SPE Stani's Python Editor <spe.stani.be@gmail.com>:
Hi,
I was wondering if one of you has written a script to migrate old
wxPython 2.4 code to wxPython 2.6? I have been asked to migrate an
application, which is far too big to convert manually. So an (as much
as possible) automatic solution is desired. Or any experiences to
share? If not, I'll write such a script myself and may publish it
under wxWidgets license if anyone else is interested.
Thanks for any reaction,
Stani
Generally speaking, the code should work basically unchanged, except for
certain changes in default behavior (see the release notes). If you
mean to convert it into using the wx namespace (wxNAME -> wx.NAME
generally), I've found that just performing a wx -> wx. replacement to
work reasonably well everywhere except event bindings and sub-packages,
which require somewhat minimal manual tweaking.
- Josiah
···
"SPE Stani's Python Editor" <spe.stani.be@gmail.com> wrote:
I was wondering if one of you has written a script to migrate old
wxPython 2.4 code to wxPython 2.6? I have been asked to migrate an
application, which is far too big to convert manually. So an (as much
as possible) automatic solution is desired. Or any experiences to
share? If not, I'll write such a script myself and may publish it
under wxWidgets license if anyone else is interested.
Thanks for any reaction,
SPE Stani's Python Editor wrote:
Hi,
I was wondering if one of you has written a script to migrate old
wxPython 2.4 code to wxPython 2.6? I have been asked to migrate an
application, which is far too big to convert manually. So an (as much
as possible) automatic solution is desired. Or any experiences to
share? If not, I'll write such a script myself and may publish it
under wxWidgets license if anyone else is interested.
Thanks for any reaction,
I think there were some scripts posted here way back when that did a fair job of handling the basics.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Hi Stani,
SPE Stani's Python Editor wrote:
Hi,
I was wondering if one of you has written a script to migrate old
wxPython 2.4 code to wxPython 2.6? I have been asked to migrate an
application, which is far too big to convert manually. So an (as much
as possible) automatic solution is desired. Or any experiences to
share? If not, I'll write such a script myself and may publish it
under wxWidgets license if anyone else is interested.
Boa 0.4.x has one under the Tools menu. It is a bit specific to Boa generated code but might be at least a good starting point for you.
Werner
···
Thanks for any reaction,
Stani
--
http://pythonide.stani.be---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org