3 posts
Posted 04 July 2012 - 10:02 AM
Hello ive recently made a program that uses fs.open()…
The program basicly is
i = fs.open("startup","w")
i.write("print("dog")")
i.close()
Now the problem is, it comes with error, that at line 2 ")" was expected. I have no clue how to fix that…
Any solutions?
95 posts
Posted 04 July 2012 - 11:42 AM
u have missed an end bracket ) check ur code
i = fs.open("startup","w")
i.write("print"("dog"))
i.close()
try that not sure though
is that your code or is that example of your code cause really u should use the code button just below smileys
236 posts
Location
Germany
Posted 04 July 2012 - 11:56 AM
u have missed an end bracket ) check ur code
i = fs.open("startup","w")
i.write("print"("dog"))
i.close()
try that not sure though
is that your code or is that example of your code cause really u should use the code button just below smileys
dammit guys u cant stack strings :/ the " is the Representative of a quote in a string
i = fs.open("startup","w")
i.write("print("dog")")
i.close()
95 posts
Posted 04 July 2012 - 12:03 PM
smile and wave boys smile and wave
:P/>/>
236 posts
Location
Germany
Posted 04 July 2012 - 12:24 PM
smile and wave boys smile and wave
:P/>/>