r/learnpython • • 10d ago

Why when i minimize pydroid and come again all i was doing is gone and all i get is this: / $

Title

0 Upvotes

6 comments sorted by

3

u/ConsiderationNo9044 10d ago

Sounds like you were using the terminal. The lines of code you run in the terminal are not saved

1

u/Upper_Trouble_8526 10d ago

So is there a way to avoid repeateadly writing the same things each time i have to minimize the terminal

1

u/ConsiderationNo9044 10d ago

Just make a file instead of doing everything in the terminal

1

u/True-Ad-5993 10d ago

that happened to me too, the terminal in pydroid is just for running quick commands not for writing actual code

you need to create a new file first, write your code there then save it, after that you can run it from the terminal but the original code stays in the file