Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76535
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.016 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'subject:file': 0.07; 'subject:skip:s 10': 0.07; 'except:': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'helpful': 0.24; 'cc:2**0': 0.24; 'pass': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'didnt': 0.31; 'exceptions': 0.31; 'received:google.com': 0.35; 'more': 0.64; 'believe': 0.68; 'bare': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=G+qb15TtiNh+962Z1H9w+gLv3qVmmIK4iUE3Pnyj+DE=; b=0CxER0IAmz4wC0r6ihhHUKw11oN0pGlhROyiLVkZEON505fbSWoi85op+cLcsD/QMR DNPw6yKnEqu6Hg9VZASu3bdrKrbXgvKDjKK2jjN7SinnWbef3xT58bS+FJ8oY0r0GuwI vw3JJffRjfImYfN6L6LPj2/G5AuLcMF+OQTjilVhlF7bWVK0dxA0aQsV6qHqc1NkpnXV +AIzF+MAbHxPP3YcRplgQd1Ilw/U03IjM/cWZkPOBwQGHZ/GqRhIGoDclKwQ0xarqswL br+m3OZcf71rk5PzWRopVDKhAtsA/YZqfrYe5fQRTJUkySGmE+mYWAJbAuhsErJErxhM 7twA== |
| MIME-Version | 1.0 |
| X-Received | by 10.194.62.104 with SMTP id x8mr47150272wjr.7.1408412538737; Mon, 18 Aug 2014 18:42:18 -0700 (PDT) |
| In-Reply-To | <CABy8q84h2Cs9o9byiPC6wsOu_=E49tRagxrVerrKCBBxFv73+g@mail.gmail.com> |
| References | <CABy8q84h2Cs9o9byiPC6wsOu_=E49tRagxrVerrKCBBxFv73+g@mail.gmail.com> |
| Date | Tue, 19 Aug 2014 11:42:18 +1000 |
| Subject | Re: python scikits.audiolab Sndfile special chars in file name |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13128.1408412540.18130.python-list@python.org> (permalink) |
| Lines | 9 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1408412540 news.xs4all.nl 2881 [2001:888:2000:d::a6]:45989 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:76535 |
Show key headers only | View raw
On Tue, Aug 19, 2014 at 1:34 AM, Furqan wasi <furqan@avpreserve.com> wrote:
> except:
> print('Simple didnt work')
> pass
Drop all of these bare excepts. Let the exceptions get printed.
Believe you me, they are a LOT more helpful than "didnt work".
ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: python scikits.audiolab Sndfile special chars in file name Chris Angelico <rosuav@gmail.com> - 2014-08-19 11:42 +1000
csiph-web