jf wrote:
> Hi,
>
> I've a bug in my code and I'm trying de reproduce it.
>
> To trace the bug I print arguments, and it produces this:
> {'date': }
>
> My question is: what is: ?
>
> I use mx.DateTime put if I print it I get:
>
>
> So what kind of object is ?
You might be using the old Pyt
Le 29/10/2010 13:41, Adam Tauno Williams a écrit :
So what kind of object is ?
In this case it is clearly mx.DateTime.DateTime.
__repr__ and __str__ may produce different representations;
Thanks a lot, in fact it is DateTime from xmlrpclib but your post really
helped me to find it.
--
htt
On Fri, 2010-10-29 at 13:15 +0200, jf wrote:
> Hi,
> I've a bug in my code and I'm trying de reproduce it.
> To trace the bug I print arguments, and it produces this:
> {'date': }
> My question is: what is: ?
> I use mx.DateTime put if I print it I get:
>
> So what kind of object is ?
In this c
Take a look here:
http://pypi.python.org/pypi/DateTime/
I always use this package only with Zope (it's an application server)
If you are simply working in python maybe it's better to use datetime object.
Hi.
On Fri, Oct 29, 2010 at 1:15 PM, jf wrote:
> Hi,
>
> I've a bug in my code and I'm tr
Douglas Douglas wrote:
> Hi everybody.
>
> I need to create a datetime object from a string like "20/01/2005 15:10:01". I
> know the mxDateTime module can do this with the DateTimeFrom method, but I was
> wondering if is possible to do this using only the standard library.
>
> I read the datetime o