Flash Magic Forum

In-System Programming Support => General => Topic started by: rbohl on April 14, 2011, 01:12:17 PM

Title: Python scripting outside Flash Magic GUI environment
Post by: rbohl on April 14, 2011, 01:12:17 PM
Hello,

I'm using the Flash Magic production system on Win7 64bit and have a need to program an LPC1114/301 from within a Python script. The DLL manual describes how to exec python scripts within the GUI's embedded Python 2.4 environment.

Is it possible to run access the Flash Magic DLLs from a Python v2.6.x script external to the Flash Magic GUI environment?

I found a mention of using IronPython and the .NET assemblies in this forum post ( http://forum.flashmagictool.com/index.php?topic=3814.msg5261#msg5261 ). Are the .NET assemblies the only means to accomplish this task?

Thanks,
Richard
Title: Re: Python scripting outside Flash Magic GUI environment
Post by: Andy Ayre on April 15, 2011, 01:09:42 AM
If you want to run Flash Magic from Python scripts outside of the GUI then yes, you have to use IronPython and the .NET assemblies. Unless you want to write your own Python bindings to the regular C-based DLLs.

Andy