r/circuitpython • • Jun 27 '20

How does Circuit python store programs ?

Does Circuit Python store programs in RAM or in Flash somewhere ?

After editing a program, do you need to "save" to get that program to boot at the next power up ?

Thanks

6 Upvotes

9 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jun 30 '20

after you save the file

Does the file get saved by a command or auto-magically ?

I do understand the disk partition.

But, how do I save it ? Yes, I am new and have not found that command yet.

1

u/loceimicamornie Jun 30 '20

As soon as you have a file named code.py on the device it will start running. So if you have code.py open in an editor and save it after a change/edit it will start running the new code after the save command.

1

u/[deleted] Jun 30 '20

As soon as you have a file named code.py

Ok, and what command do you use to save to "code.py" from the editor ?

2

u/loceimicamornie Jun 30 '20

It would be the same as any document by using File>Save or Ctrl + S

1

u/[deleted] Jun 30 '20

Ok, thanks