The Best PyCharm MayaPy Interpreter Setup

There’s no denying - Maya makes development hard. Python is one of the most popular programming languages in the world as of 2022. The language supports many great workflows, but most are off-limits when working with Maya. Even just setting up an IDE with MayaPy has been a challenge through the years. Today I will share how I set up PyCharm to work with MayaPy and how it enables a super-slick workflow for unit testing. ...

June 16, 2022 · 6 min · Mat

Python logging in Maya

The logging module, while something I’ve been using for years, is not something I can say I’ve been clear on. I’ve dug in more recently and thought I would share some quick learnings. Logger Hierarchy The first item to note is that Python’s logging module behaves as an inheritance hierarchy. This hierarchy will automatically kick in by using dot notation in the naming of your logger. For example, “eh.bee.sea” inherits from “eh.bee”, which inherits from “eh”. ...

July 13, 2021 · 2 min · Mat