Andrey
05-19-2008, 06:51 AM
Hi,
The simple code to save txt file is below. It works in Vizard, but if I publish it as EXE, it does not save the file although shows ‘Saved!’ message. I use 3.00.1903 Vizard version. All depending files were added. Console window does not show errors.
Thank you,
Andrey
=================================================
import viz
fileName = viz.input('Enter saveFile name','')
output_file = open(fileName+'.txt','a')
output_file.write('record')
output_file.write('\n')
viz.message('Saved!')
output_file.close()
The simple code to save txt file is below. It works in Vizard, but if I publish it as EXE, it does not save the file although shows ‘Saved!’ message. I use 3.00.1903 Vizard version. All depending files were added. Console window does not show errors.
Thank you,
Andrey
=================================================
import viz
fileName = viz.input('Enter saveFile name','')
output_file = open(fileName+'.txt','a')
output_file.write('record')
output_file.write('\n')
viz.message('Saved!')
output_file.close()