I have a sample script here, why does this not work? What should I try?
When I open test.txt. there isn’t anything there
Learn first.
There are syntax errors in your code that are causing it to not function. And there are code tags to use to post code.