View Single Post
  #2  
Old 07-10-2009, 10:12 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Have a look at the Publishing as an EXE page in the docs. It shows how to do exactly what you want. Here is some sample code:
Code:
f = open( viz.res.getPublishedPath('output.txt') , 'w' )
Reply With Quote