Article View: pl.comp.lang.python
Article #28440Re: lewe cudzyslowy (`polecenie`)
From: lrekucki
Date: Wed, 08 Aug 2012 21:26
Date: Wed, 08 Aug 2012 21:26
10 lines
1426 bytes
1426 bytes
On Wednesday, 8 August 2012 20:00:52 UTC+2, rmrmg wrote: > Czy w pythonie jest jakiś odpowiednik lewych cudzusłowów z basha czy > > perla? > > Czyli np.: $zmienna=`polecenie /systemowe | z_potokami -i --opcjami` > > powoduje, że wynik polecenia które jest miedzy `` trafia do zmiennej. http://docs.python.org/library/subprocess.html#replacing-shell-pipeline
Technical Details
Message-ID:
<bf2811e2-b3c7-4faf-9477-d0590d958ceb@googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<jvu9gk$ob8$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: lrekucki@gmail.com Newsgroups: pl.comp.lang.python Subject: Re: lewe cudzyslowy (`polecenie`) Date: Wed, 8 Aug 2012 14:26:03 -0700 (PDT) Organization: http://groups.google.com Lines: 11 Message-ID: <bf2811e2-b3c7-4faf-9477-d0590d958ceb@googlegroups.com> References: <jvu9gk$ob8$1@inews.gazeta.pl> NNTP-Posting-Host: 89.75.149.135 Mime-Version: 1.0 X-Trace: posting.google.com 1344461164 31314 127.0.0.1 (8 Aug 2012 21:26:04 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 8 Aug 2012 21:26:04 +0000 (UTC) In-Reply-To: <jvu9gk$ob8$1@inews.gazeta.pl> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.75.149.135; posting-account=5fpXZwoAAADF-CUdCuJ-FpYxG8__-wRx User-Agent: G2/1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit