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


Groups > comp.lang.python > #38734

call from pthon to shell

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <bqsjhaha@yahoo.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.426
X-Spam-Level ****
X-Spam-Evidence '*H*': 0.36; '*S*': 0.21; '>>>': 0.18; 'to:name :python-list@python.org': 0.20; 'import': 0.21; '&gt;&gt;&gt;': 0.22; 'to:addr:python-list': 0.33; 'reply-to:addr:yahoo.com': 0.34; 'charset:us-ascii': 0.36; 'why': 0.37; 'skip:o 20': 0.38; 'to:addr:python.org': 0.39; 'received:98.139.212': 0.65; 'received:bullet.mail.bf1.yahoo.com': 0.65; 'subject: ': 0.66; 'header:Reply-To:1': 0.68; 'received:182': 0.91; 'received:98.139.213': 0.91
X-Yahoo-Newman-Property ymail-3
X-Yahoo-Newman-Id 967902.37937.bm@omp1040.mail.bf1.yahoo.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1360647500; bh=HAqam5+QP96kxdWUw30F+sm/Z+VSzhMT8EXsBWh/9uQ=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=2IVz24pemhuNzfBYAJnM2GpScd1VUBRfWaFbY4NT5u7CADP6+hzmSNvwX+90HYzSiO/SPf0Gu8kUEHvi6YgbarvMXTRAhnZPCrUMF//rDFqry7pcvNHRZWvFONO3+cLy0+jpbGtSEEB/U0T7oMQq0TBUrvDzpAU5svJKTwyyimA=
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=BRjssCjRSZ86kfH2nVvhHpt7Vhx0xND1bgdha6XGGB0Pwvfo7A05RJvbMieTwRwVfSs3Yd2hagp9gpXO0j6gc47MltRD/sIKZpOuUq0nhwP/gYUZwMi3QzlGSR2POwcj0aCD9S6dGBMvh1G6Pfkvrpp6Zg2zGPRM8wh6tZ4OebI=;
X-YMail-OSG J2KvZO8VM1l6OQqZpou48X1rmKP2.mzXvgxICnsCjO7UhJs qo05L9IxQznbemK3OlCA2PedHClLF9IjbziOzwZVq95xEAjaYypOsGHWdyqX tHIlpI.4iFL5ThkA5cqsUtv6rP.bB4aT7saYdIgZhy9z_Q89R19Wf2ebhOI. fn1.CRqrFHt0fNgrkNLX5hBtlZaVOkWDUZtkTwlPowtMaJ2DogXIn6_62j4f q6ZjdDDGiBb0OgBGGL8L8aJ4fXH4Hr65k1lNOWnawzzyM4Ixmej8UDA68RB5 Veq72CuZcEbw99kum1vqFYgfS.kZQ9_z7iC2LUfh9sF1OISVMQOByVOVryia R2UlhRMfv8Eb9qWddDcKeO4EjBD8uP1SCKlv2.esInmycSbJZ8qSkEIydqMY QpYAV8qYAMflD_olJ53_irxWzhTpxAaR10b76XanBogiwKL0LliXkbaIep33 Eg52kT4NssfvzffYF
X-Rocket-MIMEInfo 001.001, Pj4.IGltcG9ydCBvcwo.Pj4gb3Muc3lzdGVtKCJpPTMiKQowCj4.PiBvcy5zeXN0ZW0oImVjaG8gJGkiKQoKMAoKd2h5IGkgY2FuIG5vdCBnZXQgdGhlIHZhbHVlIG9mIGk_ATABAQEB
X-Mailer YahooMailWebService/0.8.133.508
Date Mon, 11 Feb 2013 21:38:20 -0800 (PST)
From Bqsj Sjbq <bqsjhaha@yahoo.com>
Subject call from pthon to shell
To "Python-list@python.org" <Python-list@python.org>
MIME-Version 1.0
Content-Type multipart/alternative; boundary="-1725615817-2022096481-1360647500=:45284"
X-Mailman-Approved-At Tue, 12 Feb 2013 08:58:40 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To Bqsj Sjbq <bqsjhaha@yahoo.com>
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.1690.1360655922.2939.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1360655922 news.xs4all.nl 6859 [2001:888:2000:d::a6]:57348
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38734

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 not get the value of i?

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


Thread

call  from pthon  to shell Bqsj Sjbq <bqsjhaha@yahoo.com> - 2013-02-11 21:38 -0800

csiph-web