Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #5140
| Path | csiph.com!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Philipp Klaus Krause <pkk@spth.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Migration Python 2 auf 3 |
| Date | Fri, 16 Mar 2018 15:32:02 +0100 |
| Organization | solani.org |
| Lines | 15 |
| Message-ID | <p8gkh3$bn2$1@solani.org> (permalink) |
| References | <p8ggsi$96i$1@solani.org> <ef92513f-469b-723b-730c-baac911a313a@crazy-compilers.com> <mailman.108.1521208312.1867.python-de@python.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | solani.org 1521210723 12002 eJwFwYkBwEAEBMCWCJYrx9t/CZkxAaNdYVA7u0ccdPa181oeZThNluYCnVpxvboy80q6Y34iSxIb (16 Mar 2018 14:32:03 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Fri, 16 Mar 2018 14:32:03 +0000 (UTC) |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
| Cancel-Lock | sha1:qFJdCJR+bV3JkPkoGcPtbScZx0k= |
| X-User-ID | eJwFwQERACAIA8BK6hhIHOZB/wj+E779hTndOJySWnY5UE+/FDIu4mCrhJMWaFP1isz12B83NhGY |
| Content-Language | en-US |
| In-Reply-To | <mailman.108.1521208312.1867.python-de@python.org> |
| X-NNTP-Posting-Host | eJwNycEBwEAEBMCWOEuiHOvov4RkvuMWGv0gPODrSzt6a48ll8w/BhCRd0sU2V2cqNSePYnLDyUFEbI= |
| Xref | csiph.com de.comp.lang.python:5140 |
Show key headers only | View raw
Am 16.03.2018 um 14:44 schrieb Hartmut Goebel: > Am 16.03.2018 um 14:29 schrieb Philipp Klaus Krause: >> spawn = popen2.Popen4(cmd) >> spawn.wait() >> output = spawn.fromchild.readlines() > > Verwende einfach das Modul subprocess. Wie Du von popen2.Popen4 auf > subprocess umstellst sollte unter docs.python.org erklärt sein. https://docs.python.org/2/library/subprocess.html#subprocess-replacements hatte ich gesehen. aber für jemanden, der noch nie in Python programmiert hat, ist nicht klar, wie man das Beispiel dort (mit 3 Parametern, und 2 Rückgabewerten?) auf den Code in SDCC überträgt. Philipp
Back to de.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Migration Python 2 auf 3 Philipp Klaus Krause <pkk@spth.de> - 2018-03-16 14:29 +0100
Re: [Python-de] Migration Python 2 auf 3 Christopher Arndt <chris@chrisarndt.de> - 2018-03-16 14:44 +0100
Re: [Python-de] Migration Python 2 auf 3 Hartmut Goebel <h.goebel@crazy-compilers.com> - 2018-03-16 14:44 +0100
Re: [Python-de] Migration Python 2 auf 3 Philipp Klaus Krause <pkk@spth.de> - 2018-03-16 15:32 +0100
Re: Migration Python 2 auf 3 Philipp Klaus Krause <pkk@spth.de> - 2018-03-16 15:35 +0100
Re: [Python-de] Migration Python 2 auf 3 Stefan Behnel <python-de@behnel.de> - 2018-03-16 15:46 +0100
Re: [Python-de] Migration Python 2 auf 3 Christopher Arndt <chris@chrisarndt.de> - 2018-03-16 15:50 +0100
Re: [Python-de] Migration Python 2 auf 3 Stefan Behnel <python-de@behnel.de> - 2018-03-16 17:05 +0100
csiph-web