Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39021
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jmz.griffin@kode5.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.022 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'subject:question': 0.08; 'python': 0.09; 'ide': 0.09; 'interpreter,': 0.09; 'subject:module': 0.09; 'calendar': 0.16; 'fingerprint:': 0.16; 'wing': 0.16; 'script.': 0.17; 'module': 0.19; 'import': 0.21; "i've": 0.23; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'skip:" 20': 0.26; '(most': 0.27; 'module.': 0.27; 'piece': 0.29; 'included': 0.29; 'this.': 0.29; 'related': 0.30; 'primary': 0.30; 'code': 0.31; 'problem.': 0.32; 'file': 0.32; '-----': 0.32; 'could': 0.32; 'print': 0.32; 'traceback': 0.33; 'to:addr:python-list': 0.33; 'weeks': 0.33; 'there': 0.35; 'except': 0.36; 'thank': 0.36; 'charset:us-ascii': 0.36; 'why': 0.37; 'skip:4 10': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'skip:" 10': 0.40; 'your': 0.60; 'content- disposition:inline': 0.60; 'different': 0.63; 'received:80.229': 0.84; 'phil': 0.91; 'adventures': 0.93 |
| X-Authentication-Warning | kontrol.kode5.net: jamie set sender to jmz.griffin@kode5.net using -f |
| Date | Sun, 17 Feb 2013 08:40:52 +0000 |
| From | James Griffin <jmz.griffin@kode5.net> |
| To | python-list@python.org |
| Subject | Re: Calendar module question |
| Mail-Followup-To | python-list@python.org |
| References | <51208B03.2070404@bigpond.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| In-Reply-To | <51208B03.2070404@bigpond.com> |
| x-operating-system | OpenBSD 5.3 amd64 |
| x-pgp-fingerprint | A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38 |
| x-pgp-key | 1D31DC38 |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| X-Virus-Scanned | clamav-milter 0.97.6 at kontrol.kode5.net |
| X-Virus-Status | Clean |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1887.1361091574.2939.python-list@python.org> (permalink) |
| Lines | 31 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1361091574 news.xs4all.nl 6856 [2001:888:2000:d::a6]:49290 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:39021 |
Show key headers only | View raw
----- Phil <phil_lor@bigpond.com> [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.
--
Primary Key: 4096R/1D31DC38 2011-12-03
Key Fingerprint: A4B9 E875 A18C 6E11 F46D B788 BEE6 1251 1D31 DC38
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Calendar module question James Griffin <jmz.griffin@kode5.net> - 2013-02-17 08:40 +0000
csiph-web