dmitryam

Show:

What's happening?

  • PyTime broken in python 3.1

    Python 2.x and 3.x have different handling of pytime when you need to create a datetime object for COM from a python datetime object Here is the example which can show you the difference in 2.x and 3.1 import pywintypes import datetime x = datetime.datetime(2009,1,1) y = pywintypes.Time(x) print(type(x),type(y))

    2009-09-17 20:14:04 UTC in Python for Windows extensions

About Me

  • 2009-09-17 (3 months ago)
  • 2633558
  • dmitryam (My Site)
  • dmitryam

Send me a message