Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.043 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'python,': 0.01; 'python': 0.08; 'subject:Problem': 0.09; 'subject:python': 0.11; 'subject:command': 0.16; 'string': 0.26; 'windows': 0.26; 'print': 0.29; 'script': 0.29; 'header:User-Agent:1': 0.34; 'header:X -Complaints-To:1': 0.35; 'header:Received:8': 0.36; 'run': 0.37; 'but': 0.37; 'some': 0.38; 'received:google.com': 0.38; 'header :Mime-Version:1': 0.39; 'subject:with': 0.39; 'received:74.125': 0.39; 'to:addr:comp-lang-python-announce': 0.60; 'here': 0.65; 'to:addr:moderators.isc.org': 0.73; 'problem...': 0.84 Delivered-To: comp-lang-python-announce@moderators.isc.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=x-authentication-warning:to:path:from:newsgroups:subject:date :organization:lines:message-id:nntp-posting-host:mime-version :content-type:x-trace:x-complaints-to:nntp-posting-date :complaints-to:injection-info:user-agent:x-google-web-client :x-google-header-order:x-http-useragent; bh=Ofibz2W0UZ2LyvUBaJLCPD4krGbtWRQDU339XUVgutA=; b=i+uIQno7Iv0A0xFZMgd1FFOKxNUEHZUyMgSlZwGvLua6FwDXHdoR3rtKaL/D2EBWZ/ WOAg0NfTLYXl6reImNwyzX73zPo6S7oKNrDMTImTGECUwl+a/dDoQPOLSBs/zbu0n+Bx 6BBdSz0yw9OpwqGC35YAYgPvAYZeJ12f9AJ54= X-Authentication-Warning: yws13.prod.google.com: news set sender to news@google.com using -f To: comp-lang-python-announce@moderators.isc.org From: Jonatas Emidio Newsgroups: comp.lang.python.announce Subject: Problem with Dos command by python script Date: Wed, 14 Sep 2011 13:13:13 -0700 (PDT) Organization: http://groups.google.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Complaints-To: groups-abuse@google.com Injection-Info: f41g2000yqh.googlegroups.com; posting-host=201.16.200.137; posting-account=mjWRLAoAAADbtdfOpoUVAn2LPAMYjWmu User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKRUAELSC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.2) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.220 Safari/535.1,gzip(gfe) X-Mailman-Approved-At: Thu, 15 Sep 2011 03:46:30 +0200 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Message-ID: Lines: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1316051192 news.xs4all.nl 2466 [2001:888:2000:d::a6]:42271 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python.announce:327 Here i come!! I have the following problem... I need run by python script a string with some "DOS commands - Windows prompt"!! For exemple: print 'cd temp' print 'mkdir temp_app' How can i run this string in the python, but as a DOS interpreter?