Quote:
Originally Posted by arty-fishl
yes, and read them. (they don't have to end in .txt, but they should be plain text files ie. Not images etc.)
|
Hmmm...
...
...
...
...
...
...
...
...
...
EDIT: It's not working. It creates new files all right but when I try to make it write a string variable to line 1 of the created file, it gives me an error.
Quote:
Error during simulation.
Alice version: 2.2 02/10/2011
Throwable that caused the error:
Traceback (innermost last):
File "edu.cmu.cs.stage3.alice.core.property.ScriptPrope rty[name=script,owner=edu.cmu.cs.stage3.alice.core.res ponse.ScriptResponse[world.iOTool.write_line.__Unnamed0__]]", line 1, in ?
File "<string>", line 7, in __init__
AttributeError: class 'org.python.modules.os' has no attribute 'path'
|