mx.DateTime troubles

Gerhard Häring gerhard.nospam at bigfoot.de
Sun Apr 29 20:36:20 EDT 2001


Jim Abrams wrote:
> 
> PythonWin 2.1 (#15, Apr 19 2001, 10:28:27) [MSC 32 bit (Intel)] on win32.
> Portions Copyright 1994-2001 Mark Hammond (MarkH at ActiveState.com) - see
> 'Help/About PythonWin' for further copyright information.
> >>> from mx.DateTime import *
> >>> now().ticks()
> Traceback (most recent call last):
>   File "<interactive input>", line 1, in ?
>   File "d:\python21\mx\DateTime\mxDateTime\mxDateTime_Python.py", line 184,
> in ticks
> TypeError: mktime() takes exactly 1 argument (9 given)
> >>>

I don't know what the real problem is, but as a possible workaround: on
my homepage (see sig) you can find a complete build of the newest
mxExtensions for Python 2.1 (Marc-André Lemburg doesn't provide a Python
2.1 version until now).

Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> from mx.DateTime import *
>>> now().ticks()
988590771.70299995

Gerhard
-- 
Sorry for the fake email, please use the real one below to reply.
contact: g e r h a r d @ b i g f o o t . d e
web:     http://highqualdev.com



More information about the Python-list mailing list