is there a way to perform a check to indicate on which platform I am? what I mean by that is not that I want to check whether it's Linux
or Darwin
I mean I need to check whether I am on a cloud instance, I use GCP and AWS so I need some accurate way.
The only answers I found are in some very old post which checks using os.environ()
for a SERVER_NAME
which I tried and it does not work. I may hardcode a check for my ip address maybe or anything that works only for me but I think there is a clean solution.