Re: Calendar module question

2013-02-17 Thread Phil
On 17/02/13 18:40, James Griffin wrote: - Phil [2013-02-17 17:47:15 +1000] - : Thank you for reading this. My adventures with Python have just begun and during the few weeks I have tried many IDEs. The following piece of code fails under all IDEs, and the interpreter, except under the

Re: Calendar module question

2013-02-17 Thread James Griffin
- Phil [2013-02-17 17:47:15 +1000] - : > Thank you for reading this. > > My adventures with Python have just begun and during the few weeks I > have tried many IDEs. The following piece of code fails under all > IDEs, and the interpreter, except under the Wing IDE. > > Why would this co

Re: Calendar module question

2013-02-17 Thread Phil
On 17/02/13 18:01, Andrew Berg wrote: On 2013.02.17 01:47, Phil wrote: Why would this code work under the Wing IDE and nowhere else? Could there be a different calendar module included with Wing? import calendar cal = calendar.prcal(2013) print cal Traceback (most recent call last): File

Re: Calendar module question

2013-02-17 Thread Chris Rebert
On Saturday, February 16, 2013, Phil wrote: > Thank you for reading this. > > My adventures with Python have just begun and during the few weeks I have > tried many IDEs. The following piece of code fails under all IDEs, and the > interpreter, except under the Wing IDE. > > Why would this code wor

Re: Calendar module question

2013-02-17 Thread Andrew Berg
On 2013.02.17 01:47, Phil wrote: > Why would this code work under the Wing IDE and nowhere else? Could > there be a different calendar module included with Wing? > > import calendar > > cal = calendar.prcal(2013) > print cal > > Traceback (most recent call last): >File "calendar.py", line 1

Calendar module question

2013-02-16 Thread Phil
Thank you for reading this. My adventures with Python have just begun and during the few weeks I have tried many IDEs. The following piece of code fails under all IDEs, and the interpreter, except under the Wing IDE. Why would this code work under the Wing IDE and nowhere else? Could there b