Shell command on host machine via script

I would like to run this command ./switchbot-cmd.py C8:55:5C:DC:1E:45 on on my intel nuc (host with hassio installed) via script. I’ve read a lot of posts, but I’m confused. Can anyone help me step by step?