Howto use GDateTime



Hi,

i tried to use GDateTime with pygobject (ubuntu natty) and got this:

$ python
Python 2.7.1+ (r271:86832, Mar 24 2011, 00:39:14) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gi
>>> from gi.repository import GLib
>>> dt = GLib.DateTime()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError
>>> 


How can i use GDateTime?


Cheers,

Tom

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]