Python os.name returns "nt" on windows 7
I'm using os.name to get the name of current operating system under which current script is running. But strangely, instead of "windows 7" it returns "nt".
Here is the code:
import os
print(os.name)
And result:
nt