Movatterモバイル変換


[0]ホーム

URL:


mx.DateTime troubles

Gerhard Häringgerhard.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: onmy homepage (see sig) you can find a complete build of the newestmxExtensions for Python 2.1 (Marc-André Lemburg doesn't provide a Python2.1 version until now).Python 2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit (Intel)] on win32Type "copyright", "credits" or "license" for more information.>>> from mx.DateTime import *>>> now().ticks()988590771.70299995Gerhard-- 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 eweb:http://highqualdev.com


More information about the Python-listmailing list

[8]ページ先頭

©2009-2025 Movatter.jp