Re: C-API: Pass a tuple to a method of a class

2012-01-10 Thread
Hi, I have been using Cython for a period of time. But I can not find a description for the "api" key word in Cython documents cdef api float compute_norm(float init_value, float x, float y, float z): Can you explain it a little bit? Thanks! Regards, Liu Zhenhai 2012/1/10 Stefan Behnel > Hi a

Re: How to change the file creation timestamp?

2011-11-25 Thread
;new_mtime = mtime + (4*3600) #new modification time > >#modify the file timestamp >os.utime(f,(atime,new_mtime)) > > On Fri, Nov 25, 2011 at 11:47 PM, 刘振海 <1989l...@gmail.com> wrote: > > Hi, > > I want to change the file creation timestamp using python, but I

How to change the file creation timestamp?

2011-11-25 Thread
Hi, I want to change the file creation timestamp using python, but I can not find a solution to do it. I know the way to change the file creation timestamp in C under Windows, but I want to change it using python. I really need help! Regards, Liu Zhenhai -- http://mail.python.org/mailman/listinfo