How to run a PY file

You can generate a Python file that automatically connects to the Mecademic robot using the Mecademic TCP/IP interface and runs the program remotely.

You should select the post processor called Mecademic Python. The following steps summarize the procedure to run a PY file on the Mecademic.

1.Right click the program and select Select Post Processor

2.Select Mecademic Python   

3.Right click the program and select Generate robot program (F6)

4.Save the generated PY file on disk.

5.Open and run the PY file in your IDE or run it directly from your python environment.