Python Scripting for Maya Artists

  Introduction To Python Scripting for Maya Artists PDF (914.6 KiB, 32,900 hits)

Last updated: 2/27/2016


This workshop is geared towards students with little to no scripting/programming experience. By the end of this workshop, you will have the knowledge to write and run Python scripts inside and outside of Maya. You will not learn everything about Python from this workshop. This workshop includes all the basic information you should know in order to be proficient in reading, writing, running, and modifying Python scripts. The purpose of this workshop is not to make you expert Python scripters, but to give you a solid foundation from which in further your Python studies.

Additional Resources

  • Learning Python, 3rd Edition by Mark Lutz
  • Dive Into Python:
  • The python_inside_maya Google email list:

Python in the Computer Graphics Industry

Some Programs that support Python:

  • Maya
  • Modo
  • Nuke
  • Houdini
  • XSI
  • Massive
  • Blender
  • Photoshop
  • 3ds max

What is Python used for?

Artists can

  • Automate repetitive and/or tedious tasks.
  • Reduce human error.
  • Produce more creative iterations in the feedback loop.

Engineers can

  • Create applications and tools to run studio pipelines.
  • Customize existing applications to support studio specific workflows.
  • Let artists be artists.


  1. Introduction to Python
  2. Data Types and Variables
  3. Controlling the Flow of Execution
  4. Functions
  5. Exceptions and Error Handling
  6. Modules
  7. Files and Paths
  8. Classes and Object Oriented Programming
  9. Documenting your Code
  10. Coding Conventions
  11. Writing Clean Code
  12. Python in Maya

Further Reading

While I’ve covered most of the basics, there are still many more aspects of Python and programming in general.


After reading these notes, you should have a good understanding of how to write and run Python scripts inside and outside of Maya. There is still plenty to learn though. There are hundreds of Maya commands and plenty of useful modules out there to experiment with. I recommend continuing your Python education by looking through the references included with these notes, reading other peoples’ scripts, and experimenting with your own scripts. Good luck!