is there anyway to set pc's timezone using by python? like tzutil /s 'timezone name' in cmd.
i'm using os module, but it only shows result but not really be executed.
import os
os.system('cd tzutil /s Central America Standard Time')
is there anyway to set pc's timezone using by python? like tzutil /s 'timezone name' in cmd.
i'm using os module, but it only shows result but not really be executed.
import os
os.system('cd tzutil /s Central America Standard Time')