Unfortunately that only solves one of the two problems, I still need to get the version of the operating system. I've tried os . release () but that returns "5.0.0-1020-azure" for "ubuntu-18.04". My best bet right now seems to be getos (at least for linux) or something similar.
... View more