Tach,
ich glaube ich bin einfach blöd, denn ich finde keine Function in inspect die mir sagen kann ob der Sting der Name einer Variablen in einer Class ist, wäre super wenn jemand mir da helfen kann.
Habe die Docu schon durch geschaut.
MfG
BasterTWO
Prüfen ob Variable in Class
bei hasattr() hat sich einiges geändert was man auch beachten sollte
http://bugs.python.org/issue2196
http://bugs.python.org/issue2196
Inwiefern veraendert das jetzt hasattr wie man es verwenden sollte wenn jetzt zwei exceptions durchkommen?sea-live hat geschrieben:bei hasattr() hat sich einiges geändert was man auch beachten sollte
http://bugs.python.org/issue2196
Ohloh | Mein Blog | Jabber: segfaulthunter@swissjabber.eu | asynchia – asynchrone Netzwerkbibliothek
In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.