Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #89761

Re: Problem in Handling MySql Data.

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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.045
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'except:': 0.09; 'suggest': 0.14; '0.3': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'likely.': 0.16; 'subject:Problem': 0.16; 'files.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'to:name:python-list@python.org': 0.22; 'print': 0.22; 'error': 0.23; 'rid': 0.24; 'server.': 0.24; 'script': 0.25; 'header:In- Reply-To:1': 0.27; 'generally': 0.29; 'message- id:@mail.gmail.com': 0.30; 'lines': 0.31; 'fine,': 0.31; 'anyone': 0.31; 'file': 0.32; 'run': 0.32; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'useful': 0.36; 'similar': 0.36; 'remote': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'most': 0.60; 'kindly': 0.61; "you'll": 0.62; 'group,': 0.63; 'dear': 0.65; 'anything.': 0.68; 'million': 0.74; '2015': 0.84
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:to :content-type; bh=cg4hocKUkiBSLCKzPvn7e6nAUOzmmBUiYjg9LFLiwOs=; b=nTKBBP9jZe97q0p7EnfHd+gimzkRuPbNOzJwYh3zDSEUbpVCAd/kUHllKzD6Bzmvmj tYVsaDb6zMsZ37CZ8A5jbrg4kdQBVAk7sed38YTM0fVJRySY2MuIkGq2H+V1GpIcWavR Zf0p/0iQJFC/ywfE/Wx5n1LHztZ+L+u9kmnXwyctzLMuE83/yBGoIBHDW7R9tVX45jBg CRXaznccpw+FhSho0kE6JlurvGDhcroRBKn1hIADUvnsYtpZNOokPu8FdYUQUeoRKMDG WAuOZeu2zli9Seg0EYQAXkPEs2loaao3UZZ3N5X6FVm19a/UyMt722Z4CA38Uj4mgFnK ey2Q==
MIME-Version 1.0
X-Received by 10.107.134.206 with SMTP id q75mr11026741ioi.27.1430564739247; Sat, 02 May 2015 04:05:39 -0700 (PDT)
In-Reply-To <b8422ad3-e9e4-475c-9545-403fc41b9e74@googlegroups.com>
References <b8422ad3-e9e4-475c-9545-403fc41b9e74@googlegroups.com>
Date Sat, 2 May 2015 21:05:39 +1000
Subject Re: Problem in Handling MySql Data.
From Chris Angelico <rosuav@gmail.com>
To "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.20+
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.8.1430564741.12865.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430564741 news.xs4all.nl 2924 [2001:888:2000:d::a6]:48008
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89761

Show key headers only | View raw


On Sat, May 2, 2015 at 8:42 PM,  <subhabrata.banerji@gmail.com> wrote:
> Dear Group,
>
> I am trying to write the following script to call around 0.3 million files from a remote server.
> It is generally working fine, but could work only upto 65 to 70 files. After this, it is just
> printing the file names and not processing anything. If anyone may kindly suggest what I am
> doing wrong?
>
>             except:
>                 print "OOPS1"

Get rid of these lines (and the similar ones elsewhere), then run the
script again. You'll get a useful error message, most likely.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Problem in Handling MySql Data. subhabrata.banerji@gmail.com - 2015-05-02 03:42 -0700
  Re: Problem in Handling MySql Data. Chris Angelico <rosuav@gmail.com> - 2015-05-02 21:05 +1000

csiph-web