PYTHON - v14


python                       <filename>

Function

Execute a Python script from within an Eagle macro.

Parameters

<filename>

Name of Python script to execute .

Examples

MYMACRO.CMD

{

...

vane on

python myscript.py

vane off

}

Notes

If the Python parser has already been started with the issue of an EATHON ON and paused, then the PYTHON command will work within that instance otherwise a new instance is created.   When finished processing  the PYTHON command pauses the Python parser without closing it.

See also

eathon