You can do this by saving config files for users in the appdata folder. Sort of like what I’m doing here:
[SHARING] Remembering data shapes input for next run, this is made for Dynamo but the idea is the same, a python script reads and writes to a .json file and uses either a default value, or a value from the config as the next input. I’d recommend using json over .txt any day simply because of typing issues