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


Groups > comp.lang.python > #38725

how to call shell?

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 <contropinion@gmail.com>
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; '&gt;&gt;&gt;': 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 <contropinion@gmail.com>
To python-list <python-list@python.org>
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 <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.1682.1360645931.2939.python-list@python.org> (permalink)
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

>>> import os
>>> os.system("i=3")
0
>>> os.system("echo $i")

0
>>>
why i can't get the value of i ?

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

how to call shell? contro opinion <contropinion@gmail.com> - 2013-02-12 13:12 +0800
  Re: how to call shell? Tim Roberts <timr@probo.com> - 2013-02-11 21:43 -0800

csiph-web