time_struct

  • Thread starter moerchendiser2k3
  • Start date
M

moerchendiser2k3

Hi,

can anyone tell me how to return a time_struct from the timemodule in
my own C-Module?
Is that possible? I can just find one function in timefuncs.h, but it
doesnt return any PyObject.

Thanks in advance.

moerchendiser2k3
 
G

Gabriel Genellina

En Sun, 07 Mar 2010 10:50:59 -0300, moerchendiser2k3
can anyone tell me how to return a time_struct from the timemodule in
my own C-Module?
Is that possible? I can just find one function in timefuncs.h, but it
doesnt return any PyObject.

The type is available as the struct_time attribute in the time module; you
create an instance by calling it with a 9-items sequence.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,947
Members
47,498
Latest member
yelene6679

Latest Threads

Top