Dec-20-2016, 07:39 PM
hi guys
i learn python for CG & VFX , i need to define (for example) 'scale' [x,y,z] , how i can access to x or y or z, in dictionary.
mydict = {'transform':[4,52,6.3] , 'rotation':[77,89,12] , 'scale':[44,55,96]}
mydict['scale']
Output:[44,55,96]
how i can access the list index, for example only access 55 or 96, no all items! i learn python for CG & VFX , i need to define (for example) 'scale' [x,y,z] , how i can access to x or y or z, in dictionary.