> From: nkp [mailto:nkp...@gmail.com] > > src/emc/usr_intf/axis/extensions/emcmodule.cc > > > 31.01.2020 21:55, nkp ?????: > > linuxcnc.py does not exist ,this module is in C > > > > > > 31.01.2020 21:50, John Dammeyer ?????: > >>> -----Original Message----- > >>> From: nkp [mailto:nkp...@gmail.com] > >>> > >>> it is described here: > >>> > >>> http://linuxcnc.org/docs/2.7/html/config/python-interface.html > >>> > >>> > >> That describes the program which is great. However a search on > >> "linuxcnc.py" does not turn up the source code and although > >> "linuxcnc" is highlighted in light blue throughout the document > >> there's no link to the software itself. At least not what I could find. > >>
Ah. Too bad they didn't name it linuxcnc.cc in the extensions folder. That might have been a tad more logical... or... import emcmodule * and set the python naming to that History is one thing. But just as bugs are fixed periodically so should documentation so the programs can be self documenting. Instead we have to trust that the http://linuxcnc.org/docs/html/config/python-interface.html actually matches the source code. Anyway. Thank you very much for the links. I'll now have to dig into how a c++ program can become a python library. John Dammeyer _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users