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


Groups > comp.lang.python > #38734 > unrolled thread

call from pthon to shell

Started byBqsj Sjbq <bqsjhaha@yahoo.com>
First post2013-02-11 21:38 -0800
Last post2013-02-11 21:38 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#38734 — call from pthon to shell

FromBqsj Sjbq <bqsjhaha@yahoo.com>
Date2013-02-11 21:38 -0800
Subjectcall from pthon to shell
Message-ID<mailman.1690.1360655922.2939.python-list@python.org>

[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?

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web