Sharing file with output text
My son has written a Python script that takes prompts and writes the data to output.txt. When I share the project, it doesn't seem to save the data to the file. Is there a setting so that the file will get saved when I share the link/project to other people?
Hello, my comment is offtopic, but here is some information that could clean up your code:
1. no need to import time so many times.
2. no need to redefine cls()
3. sending 100 newlines isn't a proper clearscreen, a slightly more proper version is to import os, os.system("cls" or "clear");
I'm think when you run the project, it clears what is in the file but I'm not exactly sure. I'll upvote it so you can get some answers! Meanwhile, try and search it on the internet (I would recommend Stackoverflow) if you haven't already!