Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #109215
| Path | csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: How can I debug silent failure - print no output |
| Date | Sat, 28 May 2016 12:52:03 -0400 |
| Organization | IISS Elusive Unicorn |
| Lines | 20 |
| Message-ID | <mailman.10.1464454331.1839.python-list@python.org> (permalink) |
| References | <c2be905c-528d-4384-a127-d2ee8ea41f13@googlegroups.com> <20160528043518.GA84172@cskk.homeip.net> <mailman.5.1464411749.1839.python-list@python.org> <319a2104-8756-41f0-904f-4e7634a23ff1@googlegroups.com> <cvijkbtvd6i2m1p3quulie48dcfaakv7ud@4ax.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de 3G6sotDf67WVHfUVPWzR8guhSAm81kAL9du2w9QjtkcQ== |
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python3': 0.05; 'subject:How': 0.09; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subsequent': 0.15; '"*"': 0.16; '2016': 0.16; 'create:': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'skip:> 20': 0.16; 'subject:debug': 0.16; 'url:home': 0.18; 'shell': 0.18; 'os,': 0.22; 'header:X-Complaints-To:1': 0.26; 'linux': 0.26; 'expanding': 0.27; 'fri,': 0.27; 'actual': 0.28; 'joining': 0.29; 'code': 0.30; 'getting': 0.33; '-0700': 0.33; 'file': 0.34; 'skip:d 20': 0.34; 'list': 0.34; 'skip:> 10': 0.35; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'list.': 0.37; 'names': 0.38; 'to:addr:python.org': 0.40; 'your': 0.60; 'dennis': 0.91 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| X-Gmane-NNTP-Posting-Host | adsl-108-73-116-140.dsl.klmzmi.sbcglobal.net |
| X-Newsreader | Forte Agent 6.00/32.1186 |
| X-No-Archive | YES |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.22 |
| 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> |
| X-Mailman-Original-Message-ID | <cvijkbtvd6i2m1p3quulie48dcfaakv7ud@4ax.com> |
| X-Mailman-Original-References | <c2be905c-528d-4384-a127-d2ee8ea41f13@googlegroups.com> <20160528043518.GA84172@cskk.homeip.net> <mailman.5.1464411749.1839.python-list@python.org> <319a2104-8756-41f0-904f-4e7634a23ff1@googlegroups.com> |
| Xref | csiph.com comp.lang.python:109215 |
Show key headers only | View raw
On Fri, 27 May 2016 23:35:21 -0700 (PDT), Sayth Renshaw
<flebber.crue@gmail.com> declaimed the following:
>[sayth@localhost pyXML]$ python3 racemeeting.py data/*.xml
You're on a Linux type OS, no?
The SHELL is EXPANDING data/*.xml with the result that you are getting
a list of actual file names
>['data/20160528RAND0.xml']
>data/20160528RAND0.xml
One file in the list. And your code is then joining it with "*" to
create:
data/20160528RAND0.xml/*
which will not be found by the subsequent glob.glob
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How can I debug silent failure - print no output Sayth Renshaw <flebber.crue@gmail.com> - 2016-05-27 19:41 -0700
Re: How can I debug silent failure - print no output Michael Torrie <torriem@gmail.com> - 2016-05-27 21:06 -0600
Re: How can I debug silent failure - print no output Sayth Renshaw <flebber.crue@gmail.com> - 2016-05-27 21:02 -0700
Re: How can I debug silent failure - print no output cs@zip.com.au - 2016-05-28 14:35 +1000
Re: How can I debug silent failure - print no output Sayth Renshaw <flebber.crue@gmail.com> - 2016-05-27 23:35 -0700
Re: How can I debug silent failure - print no output Sayth Renshaw <flebber.crue@gmail.com> - 2016-05-28 00:14 -0700
Re: How can I debug silent failure - print no output Sayth Renshaw <flebber.crue@gmail.com> - 2016-05-28 01:01 -0700
Re: How can I debug silent failure - print no output Sayth Renshaw <flebber.crue@gmail.com> - 2016-05-28 02:44 -0700
Re: How can I debug silent failure - print no output Sayth Renshaw <flebber.crue@gmail.com> - 2016-05-28 03:32 -0700
Re: How can I debug silent failure - print no output cs@zip.com.au - 2016-05-29 08:43 +1000
Re: How can I debug silent failure - print no output Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-05-28 12:52 -0400
Re: How can I debug silent failure - print no output Jason Friedman <jsf80238@gmail.com> - 2016-05-27 22:02 -0600
csiph-web