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


Groups > comp.lang.python > #109215

Re: How can I debug silent failure - print no output

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Newsgroups comp.lang.python
Subject Re: How can I debug silent failure - print no output
Date 2016-05-28 12:52 -0400
Organization IISS Elusive Unicorn
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>

Show all headers | 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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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