Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31308
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <prvs=6289d0bde=jeanmichel@sequans.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.024 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'cc:addr:python-list': 0.10; 'subject:error': 0.11; 'subject:programming': 0.16; 'subject:random': 0.16; 'cc:2**0': 0.23; 'example': 0.23; 'insert': 0.23; 'raise': 0.24; 'random': 0.24; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply- To:1': 0.25; 'skip:e 40': 0.27; 'url:mailman': 0.29; 'error': 0.30; 'url:python': 0.32; '-----': 0.32; 'url:listinfo': 0.32; 'url:org': 0.36; 'subject:: ': 0.38; 'url:mail': 0.40; 'received:194': 0.61 |
| X-IronPort-AV | E=Sophos;i="4.80,588,1344204000"; d="scan'208";a="799953" |
| X-Virus-Scanned | amavisd-new at zimbra.sequans.com |
| Date | Mon, 15 Oct 2012 16:08:20 +0200 (CEST) |
| From | Jean-Michel Pichavant <jeanmichel@sequans.com> |
| To | Debashish Saha <silideba@gmail.com> |
| In-Reply-To | <CA+b=61AiVYehyGbFyvyTqsfZeio1NoWKtw1SwJV_r_MZ1BcVwA@mail.gmail.com> |
| Subject | Re: how to insert random error in a programming |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Mailer | Zimbra 7.2.0_GA_2669 (ZimbraWebClient - GC7 (Linux)/7.2.0_GA_2669) |
| Cc | python-list@python.org |
| 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.2210.1350310102.27098.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1350310102 news.xs4all.nl 6892 [2001:888:2000:d::a6]:37783 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:31308 |
Show key headers only | View raw
----- Original Message ----- > how to insert random error in a programming? > -- > http://mail.python.org/mailman/listinfo/python-list > Here's an example from random raise Except(randome.randinteger(0,10,'error']): return
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: how to insert random error in a programming Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-10-15 16:08 +0200
csiph-web