Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.083 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'to:name:python-list': 0.15; '>>>': 0.18; 'import': 0.21; '>>>': 0.22; 'message- id:@mail.gmail.com': 0.27; 'skip:& 10': 0.29; 'to:addr:python- list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'subject:?': 0.35; 'why': 0.37; 'skip:o 20': 0.38; 'to:addr:python.org': 0.39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=ILZPSNVg5t5cNyqM+gx38qAyaADNz4EAaC+1MzVViFo=; b=gUVvYAY9eY6ErkssBvQofF6oi35A2IZ5VRrOJXHBqsPd5lMnLMSbhRHx29Pjnlr8VH 8Uo4SK/OAckHVT4uE2frqr7uqpIj69sq9++a9uJrhIquPW87+HCTEtmDo2Bl76x7cBsh DU3/tAwAGKUm5A8GKDUzIoA2QLA2vyAm0gCM8YawyUwLe/G1V3297Kg1St1/TLbhrKRo fW4jR2P2J5i+bnjn80fuKo9jVbLvLHBQx/x4zo7CUh2CxLp5YNoSLtqIJtpEmSIUIT3Q BdfevYCxivJAct53TkJIy1NI1YCmNWHptP2yex4V8oJu4AH78KjJYZGQVZlGEM9jyU+V 06kQ== MIME-Version: 1.0 X-Received: by 10.50.184.227 with SMTP id ex3mr833089igc.45.1360645927874; Mon, 11 Feb 2013 21:12:07 -0800 (PST) Date: Tue, 12 Feb 2013 13:12:07 +0800 Subject: how to call shell? From: contro opinion To: python-list Content-Type: multipart/alternative; boundary=14dae9340d8132306904d5801145 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360645931 news.xs4all.nl 6873 [2001:888:2000:d::a6]:45969 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38725 --14dae9340d8132306904d5801145 Content-Type: text/plain; charset=ISO-8859-1 >>> import os >>> os.system("i=3") 0 >>> os.system("echo $i") 0 >>> why i can't get the value of i ? --14dae9340d8132306904d5801145 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
>>> import = os
>>> os.system("i=3D3")
0
>>> os.system("echo $i&q= uot;)

= 0
>>>=A0
why i can't get the v= alue of i ?
--14dae9340d8132306904d5801145--