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


Groups > de.comp.lang.python > #5121

Re: [Python-de] inspection bis nach oben

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] inspection bis nach oben
Date Sat, 24 Feb 2018 10:44:42 +0100
Organization None
Lines 26
Message-ID <mailman.223.1519466457.2791.python-de@python.org> (permalink)
References <CADfaKO-HPTJXkjuLFRRPaZV=xcpyqB0vG+3oLvVnpEUo--3Bmg@mail.gmail.com> <p6rc2c$p41$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 tew/eYZNL6vRZNy2GbfPeQt2bR9QwBUOOOJX2qubtlGw==
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.26
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 <p6rc2c$p41$1@blaine.gmane.org>
X-Mailman-Original-References <CADfaKO-HPTJXkjuLFRRPaZV=xcpyqB0vG+3oLvVnpEUo--3Bmg@mail.gmail.com>
Xref csiph.com de.comp.lang.python:5121

Show key headers only | View raw


Reimar Bauer wrote:

> Hallo Zusammen
> 
> Ich hab ein Tool das sich merkt was in einer Oberfläche eingestellt wurde
> und beim nächsten Start das genauso wieder einstellt.
> 
> Nun kann dieses Tool von verschiedenen anderen Programmen aufgerufen
> werden. Da macht es dann Sinn, dass ich in Abhängigkeit des aufrufendem
> Programms das Setup speichern/wiederherstellen kann.
> 
> Ich hab schon ein wenig gesucht und den Ansatz gefunden.
> 
> https://gist.github.com/techtonik/2151727
> 
> Das macht schonmal was. ich brauche aber den initialen Module Namen so
> gesehen, das aller oberste was alles andere Bibliotheken dann aufruft.
> 
> Habt ihr ne Idee wie man da dran kommt?

Reicht

sys.argv[0]

?

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

Re: [Python-de] inspection bis nach oben Peter Otten <__peter__@web.de> - 2018-02-24 10:44 +0100

csiph-web