Probably no easy way other than doing an os.system() call.
import os
os.system('hwclock --set %s' % date_str)
or using the 'date' command
import os
os.system('date -s %s' % date_str)
or if you are dying to do some c coding, wrapping the system calls with swig... but I think that would be more work than its worth.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…