On Mar 26, 2006, at 3:11 PM, Michael Williams wrote:

All,

Is there any way to compile an existing executable into an RB project? Basically, I have a few "compiled" Python scripts that do certain things much better than RB could ever hope. That said, RB does a few things that would be quite cumbersome in Python (GUI not being the least of which). Basically, I need to be able to both call (piece of cake) and preferably have the scripts be completely controlled and contained within (for asthetics and logistical purposes) one RB project. Any ideas?

Assuming that this is for either MacOS X or Linux -- you can save each Python script as an executable file. Add them to your application and call them from a Shell object. Several people have recommended adding the scripts as text files to the project. I would recommend not doing this unless you're attempting to conceal their existence from the end-user. Adding the Python scripts as resources allows you to modify them without the need for a recompile.

--------------
Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to