Re: Help with storing a variable

Sibylle Koczian <[email protected]>
Newsgroups gmane.comp.python.tutor
Message-ID <[email protected]>
Am 01.11.2023 um 02:48 schrieb ThreeBlindQuarks via Tutor:
> 
> NN,
> 
> Your question is wide open with many possible solutions.
> 
> You say you are storing (presumably reading in if a specific EXCEL file exists, and the updating or rewriting it) so clearly the obvious place is the same file. This would allow portability.
> 
> Allen has already suggested a database for all the data as a better alternative but that could require the machine you store it on be known and have the right software.
> 
He specifically mentioned SQLite - and for practice that sounds quite 
well. Of course for an application with possibly many users of one and 
the same database it might not be.

But tenant-codes (which sound like primary keys in a SQL context) with 
different prefixes and autoincrementing number parts would need second 
thoughts.

Regards
Sibylle


_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.