I have a string of a python module stored in a variable (creds) that looks like this:
MY_API_KEY = "DerP12312"
ANOTHER_KEY = "123453)"
(Many more lines than just the 2, but all the same convention)
I'd like to import the values of that module into another class like so:
from creds import MY_API_KEY
A limitation is that I cannot write these contents to local storage.
(I'd prefer not to do string disection based on /n and =)
Can I import these values directly from memory?