Fixed identifier for a machine (uuid.getnode)
问题 I'm trying to find something I can use as a unique string/number for my script that is fixed in a machine and easily obtainable(cross-platform). I presume a machine would have a network card. I don't need it to be really unique, but the necessary is it should be fixed in a long run and as rare as possible. I know MAC can be changed and I'd probably make a warning about it in my script, however I don't expect anyone to change MAC each morning. What I came up with is uuid.getnode() , but in the