Skip to content

Instantly share code, notes, and snippets.

@Ravenstine
Created April 20, 2017 17:35
Show Gist options
  • Save Ravenstine/a8473383a85d393950e73ce20f12b044 to your computer and use it in GitHub Desktop.
Save Ravenstine/a8473383a85d393950e73ce20f12b044 to your computer and use it in GitHub Desktop.
Write to stdout(actual stdout) in Autodesk Maya w/ Python
import sys
import maya.cmds as cmds
sys.stdout = sys.__stdout__
dir(sys.stdout)
print cmds.currentTime(query=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment