Character TD Loïc Pinsard looks into some Python 3 things you can take advantage of when working in Maya.
Maya 2022 included support for Python 3. The Python changes are a necessary one as Python 2 was sunset on January 1st, 2020. This new post from Character TD Loïc Pinsard shows off some of the things you can do in Python 3 and how to maintain a codebase compatible with both Python 2 and 3.
“Maya 2022 has support for python 3 now, I’ve written a post to introduce you to the nice “new” features it comes with.”
Maya 2022 has support for python 3 now, I've written a post to introduce you to the nice "new" features it comes with.
I've also added some notes on how you can use those features in python 2 to maintain a code base compatible with python 2 and 3https://t.co/On2SmC5iI5
— Loïc Pinsard (@Muream) April 25, 2021
“And because Python 2 isn’t quite dead yet, I’ll link to alternatives or backports that you can use for python two and let you maintain Python 2 and 3 compatible codebases.”
“You’ll see a common trend with all of these features; they greatly help writing more readable and self-documenting code. If you’re in a situation where you can use them, I highly recommend that you do.”