vb2py is a toolkit to aid in the conversion of Visual Basic projects to Python. The aim of the conversion is to match, as close as possible, the original VB applications both in terms of code behaviour and form layout.
Version 0.2 comprises a basic layout converter (converting to PythonCard) with a comprehensive code translation.
The key development in v0.2 is the inclusion of the full VB code parser and converter. Whereas v0.1 was just a form layout converter, v0.2 parses all the VB code and translates it to the equivalent Python code. All major code constructs from VB are covered (Sub, Fn, If, While, For, Select, With, Classes, Properties, Types, etc) and most instrinsic functions and constants are implemented as Python equivalents.
The other major addition to v0.2 is the inclusion of a GUI to enable the progress of the conversion to be monitored and tweaked using the options system. The GUI is a PythonCard application running on top of the main vb2py library. The GUI is not required to convert VB code, a fully functioning command line alternative is available.
Linux is now supported