Python 2 class in Blender

Hello everyone

I want to use a class written in Python 2 in Blender, of course Blender doesn’t like it a bit!

Anyone knows a way around this?

Thanks for any response!

2to3 can help:

I read about it, but thought it was actually converting the script, not an on the fly conversion, thanks for the tip!

After some more reading, it looks like it actually translates the script, which I am not sure will work, since the class is a wrapper to connect with a c++ interface, but I guess I will have to test it, thanks again!