Python scripting outside Flash Magic GUI environment

Started by rbohl, April 14, 2011, 01:12:17 PM

Previous topic - Next topic

rbohl

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

Andy Ayre

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
Embedded Systems Academy, Inc.
support at esacademy dot com