vb2py

Differences between revisions 1 and 2
Revision 1 as of 2007-02-04 23:40:48
Size: 1694
Editor: h81172171154
Comment:
Revision 2 as of 2007-02-04 23:42:40
Size: 1649
Editor: h81172171154
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
[CODE]sudo apt-get install pythoncard python-simpleparse[/CODE] ''sudo apt-get install pythoncard python-simpleparse''
Line 22: Line 22:
[CODE]cd <where you extracted it>/vb2py-0.2.2[/CODE] ''cd <where you extracted it>/vb2py-0.2.2''
Line 25: Line 25:
[CODE]sudo python setyp.py install[/CODE] ''sudo python setyp.py install''
Line 28: Line 28:
[CODE]cd <where you extracted it>/vb2pygui-0.2.2[/CODE] ''cd <where you extracted it>/vb2pygui-0.2.2''
Line 31: Line 31:
[CODE]sudo python setup.py install[/CODE] ''sudo python setup.py install''

vb2py is a project maintained by Paul Paterson.

Project home page with documentation and downloads:

[http://vb2py.sourceforge.net/]

vb2py will automatically translate Visual Basic code to Python. There is both a command line version where you can translate individual files in a project, and a GUI where you can load a .vbp project file and convert it to Python.


Here is how you install it in 10 simple steps:

1. We need to solve some dependencies: sudo apt-get install pythoncard python-simpleparse

2. Download the command-line tool (and the GUI) from SourceForge: [http://sourceforge.net/project/showfiles.php?group_id=79297]

3. Unpack these files (just right-click and choose "Unpack here" - or double-click to open and drag-and-drop).

4. Open a terminal and change directory to the command-line tool cd <where you extracted it>/vb2py-0.2.2

5. Install the command-line tool sudo python setyp.py install

6. Change directory to the GUI application cd <where you extracted it>/vb2pygui-0.2.2

7. Install the GUI sudo python setup.py install

8. Create a desktop launcher (shortcut) * Right-click your desktop * Choose "Create Launcher" * Name: vb2py (or whatever you see fit) * Command: python /usr/lib/python2.4/site-packages/vb2pygui/vb2pyGUI.pyw * Choose a nice icon, click OK

9. Start vb2pyGUI by double-clicking your launcher on the desktop

10. Load your VisualBasic project file (*.vbp)

If you need more information and documentation, visit the project home page:

[http://vb2py.sourceforge.net/]

vb2py (last edited 2008-08-06 16:37:28 by localhost)