NetUserGetInfo function problem
Peter Hansen
peter at engcorp.com
Fri Aug 24 00:50:32 EDT 2001
David Bolen wrote:
>
> Peter Hansen <peter at engcorp.com> writes:
>
> > That looks a lot like a count of seconds since Jan 1 1970,
> > but it still doesn't seem like it has anything to do with
> > Python.
>
> It does because it's the Python win32net (part of the PythonWin
> package) module that is translating the timestamp returned by Windows
> into a Python time-module compatible value (e.g., a time_t).
Ah, I didn't realize it was a value massaged from that which
the Win32 API returned. Mea culpa.
> > In case you didn't realize: comp.lang.python is for
> > questions regarding Python and some general topics
>
> Although it's always a good idea to try to identify the platform and
> environment within which the question is being raised, since there are
> quite a few permutations possible with Python.
I suppose that would have helped. At least I would have known
the OP was even using Python. Sorry to snipe.
--
----------------------
Peter Hansen, P.Eng.
peter at engcorp.com
More information about the Python-list
mailing list