Can’t access new environment variables through Python os

Solution for Can’t access new environment variables through Python os
is Given Below:

So I added some credentials to my env variables through Windows System options to access it in a more secure way, however whenver I try to get their values in Python (using os.environ) the keys aren’t found. I’ve tried to reboot my computer, but this didn’t help.

I would appreciate any help.

I could access them . Could you please check if environ variables are created successfully . Restart python console. I dont think we need to restart computer.