Built a simple SMS alert system for my kiosk inventory, but stuck on saving data
Hi everyone, I'm building something that helps small shop owners like those in Gikombe or Kibera not run out of popular items. Basically, when my stock of notebooks or pencils gets low, it automatically sends an SMS through Safaricom's API reminding me to restock. No more customers asking for items I don't have. I'm using Python and the Twilio API which works with M-Pesa messaging. The part that tripped me up is actually saving the inventory numbers - I got the SMS part working but my data keeps getting lost when I close the program. Anyone dealt with storing simple data that persists between uses? For beginners, I'd say start with Google Sheets as a database - super easy to access from anywhere and no need to install complicated database software.