WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Published EXE won't generate new files (https://forum.worldviz.com/showthread.php?t=2524)

ohad 02-17-2010 05:13 AM

Published EXE won't generate new files
 
Hey,

I'd like to create a very simple vizard script that creates a text file and writes a string to it. I'm using :

file = open("myFile.txt",'a')
file.write("My Text")
file.flush()

And it works just fine.
When I'm publishing the script the process runs fine but the created EXE won't generate a new "myFile.txt" file as it's .viz unpublished version did.

funny isn't it... Any idea?

Thanks,
Ohad

Jeff 02-17-2010 08:47 AM

The following thread explains how to do this.

http://forum.worldviz.com/showthread.php?t=2276


All times are GMT -7. The time now is 08:16 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC