Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.python > #4787
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Peter Otten <__peter__@web.de> |
| Newsgroups | de.comp.lang.python |
| Subject | Re: [Python-de] Frage zu IDLE |
| Date | Wed, 24 May 2017 15:55:59 +0200 |
| Organization | None |
| Lines | 53 |
| Message-ID | <mailman.14.1495634241.8815.python-de@python.org> (permalink) |
| References | <og2884$o6v$1@news.albasani.net> <og43da$ibs$1@blaine.gmane.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Trace | news.uni-berlin.de 2YFCEO0dpdh8nCVWYbV67g13d1gRvN0DlLyWKEwy8Rwg== |
| Return-Path | <gcpgg-python-de@m.gmane.org> |
| X-Original-To | python-de@python.org |
| Delivered-To | python-de@mail.python.org |
| X-Injected-Via-Gmane | http://gmane.org/ |
| User-Agent | KNode/4.13.3 |
| X-BeenThere | python-de@python.org |
| X-Mailman-Version | 2.1.23 |
| Precedence | list |
| List-Id | Die Deutsche Python Mailingliste <python-de.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-de/> |
| List-Post | <mailto:python-de@python.org> |
| List-Help | <mailto:python-de-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe> |
| X-Mailman-Original-Message-ID | <og43da$ibs$1@blaine.gmane.org> |
| X-Mailman-Original-References | <og2884$o6v$1@news.albasani.net> |
| Xref | csiph.com de.comp.lang.python:4787 |
Show key headers only | View raw
Peter Necas wrote:
> Hi,
> bin neu in der Linux Welt. Daher meine wahrscheinlich simple Frage.
>
> Über der Raspi bin ich auf Python gestossen.
> Außerdem habe ich meinen Laptop auf Linux umgestellt.
>
> Die Entwicklungsumgebungen sind:
> Lenovo Laptop
> - Linux Mint 18.1 Serena
> - Python Vers. 2.17.12 Tk.Vers. 8.6.5
> - IDLE 2.7.12
>
> Raspi B
> - Raspbian Rel. 8.0 Jessie
> - Python Vers. 2.7.9 TK. Vers. 8.6.2
> - IDLE 2.7.9
>
> Jetzt zu meinem Problem. Im IDLE unter Raspi wird, wenn ich im
> Editorfenster die Taste F5 (Run) das Programm starte sofort der Fokus
> auf das Shellfenster verlagert, wo ich ev. Eingaben machen kann.
>
> Nicht so am Laptop. Hier verbleibt der Fokus im Editorfenster, Eingaben
> werden, wenn man im Eifer der Tipperei das Fenster nicht händisch
> wechselt, in den Sourcetext geschrieben.
>
> Ist ein lästiges Verhalten. Auch unter IDLE 3 gleiches Problem.
> Vielleich weiß wer Rat.
Mein System zeigt das gleiche Verhalten. Ich habe gerade ein wenig
rumprobiert, wenn ich idle mit folgendem Script starte scheint's zu
funktionieren:
$ cat ~/bin/myidle
#! /usr/bin/python
import Tkinter
_Toplevel = Tkinter.Toplevel
class Toplevel(_Toplevel):
def __init__(self, *args, **kw):
_Toplevel.__init__(self, *args, **kw)
self.group(self._root())
Tkinter.Toplevel = Toplevel
from idlelib.PyShell import main
if __name__ == '__main__':
main()
Kannst es ja auf Deinem Laptop mal ausprobieren...
Back to de.comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
Frage zu IDLE Peter Necas <familie.necas@aon.at> - 2017-05-23 23:06 +0200
Re: [Python-de] Frage zu IDLE "Dr. Volker Jaenisch" <volker.jaenisch@inqbus.de> - 2017-05-24 00:21 +0200
Re: [Python-de] Frage zu IDLE Peter Otten <__peter__@web.de> - 2017-05-24 15:55 +0200
Re: [Python-de] Frage zu IDLE "Sven R. Kunze" <srkunze@mail.de> - 2017-05-25 12:51 +0200
Re: Frage zu IDLE Hermann Riemann <nospam.ng@hermann-riemann.de> - 2017-05-25 17:51 +0200
Re: Frage zu IDLE Peter Necas <familie.necas@aon.at> - 2017-05-25 21:01 +0200
Re: [Python-de] Frage zu IDLE Stefan Schwarzer <sschwarzer@sschwarzer.net> - 2017-05-25 21:58 +0200
Re: [Python-de] Frage zu IDLE Hermann Riemann <nospam.ng@hermann-riemann.de> - 2017-06-24 05:45 +0200
csiph-web