use print!
print calendart.calendar(2006)
Alan G.
- Original Message -
From: "Shuai Jiang" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, May 23, 2006 2:09 AM
Subject: [Tutor] Calendar Module
Hello,
I just got Python In a Nutshell and decided to play around with the
tim
On 23/05/06, Shuai Jiang <[EMAIL PROTECTED]> wrote:
> Hello,
> I just got Python In a Nutshell and decided to play around with the time
> section. While playing with the calendar module, I encountered a problem:
>
> >>> import calendar
> >>> calendar.calendar (2006)
> '
Hello, I just got Python In a Nutshell and decided to play around with the time section. While playing with the calendar module, I encountered a problem:>>> import calendar>>> calendar.calendar
(2006)' 2006\n\n January February
John Carmona wrote:
Hi guys, I have typed this programme from the Josh Cogliati manual
-
import calendar
year = input("Type in the year number: ")
calendar.prcal(year)
I get this error message
Traceback (most recent call last):
File "C:/P
Hi guys, I have typed this programme from the Josh Cogliati manual
-
import calendar
year = input("Type in the year number: ")
calendar.prcal(year)
I get this error message
Traceback (most recent call last):
File "C:/Python24/Example/cal.