title: Output Spotfire 'print' to text file
body: <p>I have been struggling with something I hope to be a simple question. I would like to output values (String / Real / Stringlist) from Spotfire to a text file on my computer. My final solution would need document properties to be listed and saved, but for now let's use a working script from stackoverflow: <a href="https://stackoverflow.com/questions/30081535/ironpython-in-spotfire-current-project-path">Is it possible to use IronPython to return the path of the current *.dxp project as a string?</a></p>
  
  <p>Two variables: path and analysis are 'printed'. How can I print those to a text file?</p>
  
  <p>Something similar is done here: <a href="http://spotfired.blogspot.co.uk/2014/04/export-image-from-visualization.html" rel="nofollow noreferrer">http://spotfired.blogspot.co.uk/2014/04/export-image-from-visualization.html</a> where a .bmp image is created.</p>
  
  <p>Many thanks,</p>