Re: [Tutor] Calendar Module

2006-05-22 Thread Alan Gauld
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

Re: [Tutor] Calendar Module

2006-05-22 Thread John Fouhy
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) > '

[Tutor] Calendar Module

2006-05-22 Thread Shuai Jiang
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

Re: [Tutor] Calendar module

2005-03-30 Thread Kent Johnson
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

[Tutor] Calendar module

2005-03-30 Thread John Carmona
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.