It's possible: mmApi via Python 3.x

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
News for mmApi users:
mmApi Python interface was built meant to be used on Python 2.7. Python2 development and support will end soon...
Now I managed to setup an interface based on current SWIG 4.0 and PCRE 8.43 supporting current Python 3.7.4 on my macOS system (Not sure if that upgrade to SWIG 4.0 and PCRE 8.43 is needed at all but I tried latest/most common versions)
Until now things seem to work fine simply converting 2.7 codes via 2to3-auto conversion (also there might be some still unknown glitches) .
Python 3 support allows to use up to date third party libraries and/or to link MM to other applications using Python 3 scripting (e.g. Fusion 360).
Anyone (maybe a better coder) willing to join the porting party?
Here's a shot running examples/demo_06 via Python Shell 3.7.4: