script for seconds in given month?
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Mon Apr 23 21:00:35 EDT 2007
En Mon, 23 Apr 2007 17:28:11 -0300, edfialk <edfialk at gmail.com> escribió:
> 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_statement (c:
> \Python25\Lib\calendar.py, line 8)
You could download and use the calendar.py from the 2.4 installation.
--
Gabriel Genellina
More information about the Python-list
mailing list