import ibmcnx.filehandle

emp1 = ibmcnx.filehandle.Ibmcnxfile()

emp1.writeToFile( execfile('ibmcnx/doc/JVMSettings.py' ) )
#emp1.writeToFile("Test2")
#emp1.writeToFile("Test3")
emp1.closeFile()

import ibmcnx.filehandle
import sys
sys.stdout = open("/tmp/documentation.txt", "w")

print "test"

execfile('ibmcnx/doc/JVMSettings.py' )


Create script to save documentation to a file
4: Create script to save documentation to a file 

Task-Url: http://github.com/stoeps13/ibmcnx2/issues/issue/4