[Python-de] Funktionsaufruf im event handler

Wagner, Frank Frank.Wagner at wika.com
Fr Sep 13 10:16:35 CEST 2013


Hallo Diez,


	Natuerlich gab es die. Du hast sie nur mit 

	try:
	   .

	except: # ALLES ABFANGEN
	  .

	unterdrueckt. Das versuchen wir dir jetzt seit grob einer Woche zu sagen :)

NEIN, es gab keine

Ich weiß was try und except macht und dass ich damit Fehlermeldungen unterdrücke.

Also hab ich try und except entfernt, übrigens testweise schon vor meinem ersten Post hier und auch hier gab es keine Fehlermeldung,
was mich überhaupt erst veranlasst hat hier einen Post zu schreiben. Auf Grund der Ratschläge hier hab ich das try.. except Konstrukt
nur um die eine Anweisung gelegt die ich primär abfangen wollte, auch jetzt gab es keine Fehlermeldung durch meinen Funktionsaufruf
mit fehlendem self.
Per Zufall stach mir der Funktionsaufruf ohne das self. ins Auge, habs geändert und es funktionierte.

Grüße und vielen Dank für die Hinweise

Frank

--
Bevor Sie diese E-Mail ausdrucken, überlegen Sie bitte, ob dies wirklich erforderlich ist. Please think before you print.
--
WIKA Alexander Wiegand SE & Co. KG
Alexander-Wiegand-Straße 30 - 63911 Klingenberg - Germany
Kommanditgesellschaft: Sitz Klingenberg - Amtsgericht Aschaffenburg HRA 1819
Komplementärin: WIKA Verwaltungs SE & Co. KG - Sitz Klingenberg -
Amtsgericht Aschaffenburg HRA 4685
Komplementärin: WIKA International SE - Sitz Klingenberg -
Amtsgericht Aschaffenburg HRB 10505
Vorstand: Alexander Wiegand
Vorsitzender des Aufsichtsrats: Dr. Max Egli
Telefon: (09372) 132-0
Internet: www.wika.com
-- 
The information contained in this E-Mail and any attached files are strictly confidential and may be subject to legal privilege. If you are not the intended recipient, his representative or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this E-Mail in error, please notify us immediately by E-Mail or telephone and delete this message and all its attachments subsequently. All reasonable precautions have been taken to ensure no viruses are present in this E-Mail.


Mehr Informationen über die Mailingliste python-de