Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #8282
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <mail@timgolden.me.uk> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'python:': 0.05; 'subject:Python': 0.06; 'from:addr:timgolden.me.uk': 0.09; 'from:name:tim golden': 0.09; 'message-id:@timgolden.me.uk': 0.09; 'subject:2.7': 0.09; 'subject:files': 0.09; 'wrote:': 0.15; '(thu,': 0.16; 'executables': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'cc:addr:python-list': 0.16; 'subject:lost': 0.19; 'subject:Windows': 0.19; 'cc:2**0': 0.21; 'cc:no real name:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'runs': 0.23; 'checked': 0.25; 'right,': 0.28; 'shell': 0.29; 'cc:addr:python.org': 0.30; 'commands,': 0.30; 'tjg': 0.30; 'header:User-Agent:1': 0.34; 'certain': 0.36; 'options': 0.36; 'but': 0.37; 'received:192': 0.38; 'subject:: ': 0.38; 'two': 0.38; 'should': 0.39; 'got': 0.39; 'from:addr:mail': 0.64; 'golden': 0.67; 'jun': 0.67; 'subject: (': 0.84; 'to:none': 0.93 |
| Date | Thu, 23 Jun 2011 09:14:51 +0100 |
| From | Tim Golden <mail@timgolden.me.uk> |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 |
| MIME-Version | 1.0 |
| CC | python-list@python.org |
| Subject | Re: Python 2.7 and cmd on Windows 7 64 (files lost) |
| References | <4e02de32$0$30749$ba4acef3@reader.news.orange.fr> <mailman.317.1308814289.1164.python-list@python.org> <MPG.286d12f682a331b98981f@news.individual.de> |
| In-Reply-To | <MPG.286d12f682a331b98981f@news.individual.de> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.319.1308816895.1164.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1308816895 news.xs4all.nl 14149 [::ffff:82.94.164.166]:59497 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:8282 |
Show key headers only | View raw
On 23/06/2011 09:08, Thorsten Kampe wrote: > * Tim Golden (Thu, 23 Jun 2011 08:31:26 +0100) >> >> Certain commands, including "dir" and "copy" are not executables >> in their own right, but merely subcommands of cmd.exe. > > Right, "internal commands". > >> You've got two options in Python: >> >> os.system (r"cmd /c dir c:\windows") > > os.system automatically runs a shell (cmd) - see the documentation. Thanks: should have checked my sources before writing :( TJG
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python 2.7 and cmd on Windows 7 64 (files lost) "Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid> - 2011-06-23 08:33 +0200
Re: Python 2.7 and cmd on Windows 7 64 (files lost) Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-06-23 09:31 +0200
Re: Python 2.7 and cmd on Windows 7 64 (files lost) "Michel Claveau - MVP"<enleverLesX_XXmcX@XmclavXeauX.com.invalid> - 2011-06-23 11:10 +0200
Re: Python 2.7 and cmd on Windows 7 64 (files lost) "Martin v. Loewis" <martin@v.loewis.de> - 2011-06-24 09:34 +0200
Re: Python 2.7 and cmd on Windows 7 64 (files lost) Tim Golden <mail@timgolden.me.uk> - 2011-06-23 08:31 +0100
Re: Python 2.7 and cmd on Windows 7 64 (files lost) Thorsten Kampe <thorsten@thorstenkampe.de> - 2011-06-23 10:08 +0200
Re: Python 2.7 and cmd on Windows 7 64 (files lost) Tim Golden <mail@timgolden.me.uk> - 2011-06-23 09:14 +0100
csiph-web