Skip to content

Instantly share code, notes, and snippets.

@RedForty
Created October 9, 2017 05:45
Show Gist options
  • Save RedForty/10a6eef9f08aa016f6e4b68f6184e1fb to your computer and use it in GitHub Desktop.
Save RedForty/10a6eef9f08aa016f6e4b68f6184e1fb to your computer and use it in GitHub Desktop.
Working with maya.env environment variables
import os
# os.environ is a dict. Key is variable name and value is value.
print os.environ['MAYA_PLUG_IN_PATH']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment