Re: [Tutor] How to test for a remainder from division

2007-05-14 Thread Arthur Coleman
Hi, I believe it should be if !(year % 4) or !(year % 100) or !(year % 400) Since 4*n % 4 = 0 for n integer Arthur -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luke Paireepinart Sent: Monday, May 14, 2007 2:32 PM To: Matt Smith Cc: Python Tutor Subje

[Tutor] C API Tutorial Class Question

2007-05-03 Thread Arthur Coleman
I am using Windows XP and have successfully build the Boost libraries, plus boost_python.dll. I am trying to work through the C API tutorial where the file hello.cpp is found at libs/python/example/tutorial. I have been able to compile and execute the first example building the supplied hello.cpp