I tried to use environment variables in order to save data. I tried to save the variables with os.environ, but in linux the variables stay empty, after executing this small script:
  import os
    os.environ['LD_LIBRARY_PATH'] = "my_path"
    exit()
dave@dave-ThinkPad-L13-Gen-2:~/PythonProjects/USAImport$ echo $LD_LIBRARY_PATH
How to set environment variables in Python?
Which is the fastest way to persist data. I just have to save a cookie.
 
     
    