1. #!/usr/bin/python
    2. # -*- coding: UTF-8 -*-
    3. import time
    4. localtime = time.asctime( time.localtime(time.time()) )
    5. print "本地时间为 :", localtime