View Single Post
  #2  
Old 08-29-2013, 03:20 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Here's a code sample that shows how to parse the string "10,10,10" into a list of floating point numbers:
Code:
s = "10,10,10"

pos = [ float(x) for x in s.split(',') ]

print pos
Reply With Quote