[code.view]

[top] / python / PyMOTW / time / time_strptime.py

     #!/usr/bin/env python
     # encoding: utf-8
     #
     # Copyright (c) 2008 Doug Hellmann All rights reserved.
     #
     """
     """
     #end_pymotw_header
     
     import time
     
     now = time.ctime()
     print now
     parsed = time.strptime(now)
     print parsed
     print time.strftime("%a %b %d %H:%M:%S %Y", parsed)

[top] / python / PyMOTW / time / time_strptime.py

contact | logmethods.com