gavanderhoorn / ktransw_py

A wrapper around Fanuc Robotics' ktrans that makes it work a little more like a modern compiler
Apache License 2.0
18 stars 8 forks source link

Port to python 3 #18

Closed kobbled closed 1 year ago

kobbled commented 4 years ago

continuation of PR #17 up to correct commit.

cjue commented 2 months ago

The fixes in this PR work for python3.11, thanks @kobbled

cjue commented 1 month ago

To clarify: this works for python3.11

With python3.12 kransw.py throws the following error:

ktransw.py:404: SyntaxWarning: invalid escape sequence '\w'
  '"\\n%\w"', # the macro start sequence