In python, is there a way to retrieve the value of an env variable from a specific .env file? For example, I have multiple .env files as follows:
.env.a .env.a ...
And I have a variable in .env.b called INDEX=4.
I tried receiving the value of INDEX by doing the following:
import os
os.getenv('INDEX')
But this value returns None.
Any suggestions?