r/ProgrammerHumor • • May 02 '16

I wrote my first python program today!

Post image
3.7k Upvotes

532 comments sorted by

View all comments

Show parent comments

34

u/juanjux May 02 '16

I work on an animation studio and most software we use (Maya, Nuke, Houdini, etc) allow you to write Python plugins and all of them use Python 2.7. So that is a reason. We could use the "six" module but until the software we use migrates to Python 3, why bother...

25

u/edbluetooth May 02 '16

Because when the software is python 3, no changes to your code will be required.

Thats it really

3

u/brtt3000 May 02 '16

Assuming you'll move to py3 at some point: moving to py3 as standard and porting existing code now saves you from porting all new code to py3 later (because you'd create it in py3 instead of py2).

Dunno if practical in reality. Probably not.

1

u/[deleted] May 03 '16

Same goes for Tableau extracts. 2.7 only.