#import the 'time' library and create a function that prints time.time() #(this is the number of seconds since some arbitrary date in 1970). #You should know how to reference this function in maya import time def printTimeDotTime(): print time.time() #(this would be referenced in Maya with: #import lesson_3_solution #lesson_3_solution.printTimeDotTime #adapt your function to create a text object in maya that displays this value. #You should use the maya command textCurves() and the t arguement #You can move and rotate selected objects using the move and rotate commands: import maya.cmds as mc def createText(): currentTime = time.time() mc.textCurves(t='%s'%currentTime) #adapt your function to run the above createSpheres function and display the time taken to run the function as the textCurves object. #Something like 'that took %s seconds' import testMaya def createTimeTakenText(): intialTime = time.time() testMaya.createSpheres(3) endTime = time.time() totalTime = endTime - intialTime mc.textCurves(t='That took %s seconds'%totalTime)