O'Reilly Open Source Convention
Books Safari Bookshelf Conferences O'Reilly Network
   


Arrow Home
Arrow Registration
Arrow Speakers
Arrow Keynotes
Arrow Tutorials
Arrow Sessions
Arrow At-a-Glance
Arrow Wiki
Arrow BOFs
Arrow Events
Arrow Exhibitors
Arrow Sponsors
Arrow Hotel/Travel
Arrow Venue Map
Arrow See & Do
Arrow Tips for
 Attending
Arrow Press
Arrow Mail List

OSCON.

Session

vb2Py - Converting Visual Basic to Python
Paul Paterson

Track: Python
Date: Wednesday, July 28
Time: 5:20pm - 6:05pm
Location: Salon A

TrackBackTrackBack

The goal of the vb2PY project is to seamlessly convert VB applications (both code and forms) to Python. This talk will address both the technical and philosophical aspects of this goal along with the potential benefits from converting proprietary VB code to an open source platform.

From a technical perspective, conversion of VB code includes many challenges, including how to handle coercion, differences in error handling, and also VB's tight integration with Windows specific UI controls. However, the pure technical issues of mapping VB’s syntax to Python cannot be solved in isolation without addressing the more philosophical aspects such as how to translate the semantics and style of VB code to Python.

One of the end-user’s goals will typically be to obtain a Python version of their application, which is more maintainable, and more readily understandable than the original VB code. This goal will not be achieved by producing VB-in-Python code, but rather by providing the user with the tools required to:

  • Try different approaches to determine what results in the most maintainable end product
  • Test the end application to identify differences in behavior
  • Document the conversion to aid in the subsequent maintenance of the Python application
  • This presentation will show, with practical examples, how these issues are currently being addressed and discuss the future plans for the project.



    O'Reilly Home | Privacy Policy

    © 2004, O'Reilly Media, Inc.