in reply to Re^2: Thx, St. Larry, for the Beauty of Sigils
in thread Thx, St. Larry, for the Beauty of Sigils
getattr() seems to be like Perl's ->can() , but with the difference that you have to check the type in Python by yourself.
IIRC are classes and objects in Python dicts anyway, which can be accessed via __dict__, though w/o inheritence.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Thx, St. Larry, for the Beauty of Sigils
by Eily (Monsignor) on Jul 30, 2019 at 15:06 UTC | |
by LanX (Saint) on Jul 30, 2019 at 16:01 UTC |