Posted By

montujj on 11/20/12


Tagged


Versions (?)

Nuke Python : message using conversion specifier


 / Published in: Python
 

storing integer in string using conversion specifier

  1. alt =23850
  2. dm=72350
  3. mph =125
  4.  
  5. z = ("Altitude " + "%.1f" % alt + " ft velocity " + "%.1f" % dm + " dm/sec " +"%.3f" % mph + " mph")
  6. nuke.message(z)

Report this snippet  

You need to login to post a comment.