Migrate to python 3
jmarcosfer opened this issue · 0 comments
jmarcosfer commented
Modify scripts in /src/python
to use Python 3 instead of Python 2.
This mainly involves changing old string formatting style, for example:
return "const %s %s=std::vector<float>%s" % (map_types_to_cpp(param_dict['type'])
...to using the .format()
string method or f-strings.
- Official how-to docs
- Consider using something like 2to3