script for seconds in given month?

skip at pobox.com skip at pobox.com
Mon Apr 23 21:04:25 EDT 2007


    ed> I, unfortunately, failed to realize the actual platform the script
    ed> is for is IronPython.  When trying to import calendar in IronPython,
    ed> I get:

    ed> SyntaxError: future feature is not defined: with_statement
    ed> (c:\Python25\Lib\calendar.py, line 8)

So try the 2.4 version of calendar.py...

Skip



More information about the Python-list mailing list