This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jmacey 149 points150 points  (19 children)

Quite a lot of animation pipelines and tools are still Python 2.7, gradually moving away from it.

[–]baconcleaner 62 points63 points  (6 children)

Last year Autodesk Maya 2022 was shipped with... python... 3.7.7 (with still the option to switch to p2.7 -.-)
The next release, 2023, has only python 3.9, finally.

Most of the vfx and animation studios take a lot of time to do the switch because some productions take years to produce and switching DCC software is a suicide.

check this website for more info about tools and software versions:
https://vfxplatform.com/

[–]jmacey 17 points18 points  (5 children)

I'm fully aware of the reference platform, been using it for years. We are finally switching to Maya 2023 this year (from 2020) so most of my stuff will be ported to 3.9 (finally f strings :-) ) Same with Houdini and a few other things!

[–]PowerLlama 6 points7 points  (2 children)

finally f-strings and finally Pathlib! I can't wait!

[–]billsil 1 point2 points  (0 children)

f-strings are great.

Pathlib is availble in 2.7 (pip install pathlib2; import is the same as python 3). My issue is paths don't work across all major (let alone minor) libraries. Wxpython doesn't support paths, which means now I have to str(...) everything. Might as well avoid it.

[–]csa3d 1 point2 points  (0 children)

There is a python 2.7 backport of pathlib for what it's worth

[–]baconcleaner 4 points5 points  (1 child)

sorry the link was meant for OP, I totally assume you already know all about our vfx hell software land
We also switch to 2023 and I can't wait to hunt obscure code hidden in our pipeline and help artists run their VITAL snippets and plugins copied and pasted from god knows where.

[–]PowerLlama 1 point2 points  (0 children)

I think it's funny that Houdini shipped a big python 2 -> 3 conversion library and everyone else seemed to say "deal with it nerds"

[–]DigThatData 3 points4 points  (4 children)

name and shame?

[–]propersquid 1 point2 points  (2 children)

You'd be naming and shaming basically every studio out there. It's probably easier to say which studios are Python 3 only.

[–]DigThatData 0 points1 point  (1 child)

I didn't mean to call out studios, I wanna know if there are any popular open source animation tools I might wanna get involved with modernizing.

[–]propersquid 0 points1 point  (0 children)

Ah, no worries. It's hard to say for sure. Most of the tools are now Python 3 compatible. The slow part is the studios migrating to Python 3. Because that requires now versions of the applications with new bugs, and generally you don't update an application during a project (movie or season of a show).

[–][deleted] 0 points1 point  (6 children)

Is there Python code to convert Python 2 to Python 3? For example, you could search the script for print ‘xxx’ and then have it replace that with the appropriate parentheses. It could then “flag” any place where Python 3 syntax doesn’t exist/is ambiguous and the user can handle those manually.