Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Calendar module question

Reply
Thread Tools

Re: Calendar module question

 
 
Phil
Guest
Posts: n/a
 
      02-17-2013
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 Wing IDE.
>>
>> 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, in <module>
>> import calendar
>> File "/home/phil/calendar.py", line 3, in <module>

> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^
>
> There is your problem.
>
> Parsedatetime is a good calendar module. I've been using it recently for
> an email related script.
>


Thanks James - a trap for the uninitiated.

--
Regards,
Phil
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar GadGets does not show calendar iccsi Windows 64bit 4 08-14-2011 01:52 PM
How to Synchronise Hotmail Calendar with Standard Outlook Calendar using Outlook Connector ?? Synapse Syndrome Computer Support 0 12-02-2007 04:19 AM
Re: module docstring, documentation,anything? please note is the module type/object NOT some module Maric Michaud Python 0 06-24-2006 12:42 PM
Thunderbird Calendar with Exchange 2003 Calendar and Public FoldersCalendar jincmcse Firefox 1 09-03-2005 02:46 AM
Calendar Control - Programatically set the calendar to a date range Shevek ASP .Net 3 06-23-2004 01:41 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57