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


Groups > comp.lang.python > #29342

Re: Moving folders with content

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Moving folders with content
Date 2012-09-16 14:53 -0400
Organization > Bestiaria Support Staff <
References <mailman.785.1347782537.27098.python-list@python.org> <5055ac92$0$6940$e4fe514c@news2.news.xs4all.nl> <pan.2012.09.16.14.31.11.382000@nowhere.com>
Newsgroups comp.lang.python
Message-ID <mailman.809.1347821593.27098.python-list@python.org> (permalink)

Show all headers | View raw


On Sun, 16 Sep 2012 15:31:07 +0100, Nobody <nobody@nowhere.com>
declaimed the following in gmane.comp.python.general:


> difference is that shell=False requires the "executable" to actually be a
> binary executable, while shell=True allows it to be some other type of
> file (e.g. a batch file, Python script, etc).

	While it is true that "programs" that require an interpreter to be
present won't run directly, the main difference is that "shell=True"
allows for use of the built-ins -- commands like DIR, COPY, DEL...

	One can always preface the others with the interpreter program name
(granted, in the case of "BAT" files, that interpreter IS the command
shell, so it if rather perverse to say "run this file in this shell"
while saying "don't use a shell" <G>).


-- 
	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

RE: Moving folders with content <jyoung79@kc.rr.com> - 2012-09-16 08:02 +0000
  Re: Moving folders with content Hans Mulder <hansmu@xs4all.nl> - 2012-09-16 12:40 +0200
    Re: Moving folders with content Nobody <nobody@nowhere.com> - 2012-09-16 15:31 +0100
      Re: Moving folders with content Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-16 14:53 -0400
      Re: Moving folders with content Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-16 16:53 -0400

csiph-web