I have a python 3.x script that requires accurate time. I use the following, within OSX 10.13.6
sudo ntpdate -vu time.apple.com
How can I execute this within python? Or is there a python native way to make sure my machine is properly synched with a time server?