1

I am looking for an online python environment that allows me to read from and write to text files.

I want to be able to create a text file and enter text into it. Then I want to run my python code and have it read from the file and perform some basic commands. The text file has to save between executions of the code, I shouldn't have to rewrite the contents every time I want to run my code.

For example, I tried JDoodle. With that, I can create text files, but only with python code, which will not work for what I am trying to do. It also does not save between executions.

1

Thanks to @Micha for answering this question on the chat. They recommended pythonanywhere.com.

I was able to create a text file and save it, and my program works fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.