Alex, very nice. Thank you.
Unfortunately, I just found out the platform for using the script will
be IronPython, not Python. So, importing calendar in IronPython gives
me:
SyntaxError: future feature is not defined: with_statement (c:
\Python25\Lib\calendar.py, line 8)
so, compatibility issue.
Alex, very nice. That should be good enough for me.
The rest of you as well, thanks for all the help.
I, unfortunately, failed to realize the actual platform the script is
for is IronPython. When trying to import calendar in IronPython, I
get:
SyntaxError: future feature is not defined: with_st
Jim: I need years too, basically from 1960-2000. Don't want to
hardcode all those days :)
Matt: Thanks, I will try this out.
Paul: I don't believe we need leap seconds. Leap days definitely.
I'll let you know how Matt's code works. Any other suggestions feel
free to let me know.
Thanks all!
Hi, does anyone happen to know of a script that would return the
number of seconds in a month if I give it a month and a year?
My python is a little weak, but if anyone could offer some suggestions
I think I could handle it myself, or if anyone happens to know of a
script already written that perf
Hi all, I'm pretty much totally new to IronPython and have come to the
point that I need an interface to interact with a co-worker's code,
but I can't seem to find any documents or discussion on syntax for
writing an interface.
Does anyone know of a link that talks about interfaces in IronPython
o
Hi all, I'm completely new to Python, but fairly experienced in PHP
and few other languages.
Long story short: The IronPython executable doesn't work for .cgi
scripts in my browser.
I've been assigned to write a service that pulls in parameters from
the URL, accesses a file and serves some data