On 3/22/2020 11:37 PM, DL Neil via Python-list wrote:
On 23/03/20 3:32 PM, Paulo da Silva wrote:
Às 02:18 de 23/03/20, Paulo da Silva escreveu:
Hi!
Olá,
Suppose a class C.
I want something like this:
class C:
KA=0
KB=1
KC=2
...
Kn=n
def __init__ ...
...
Paulo da Silva wrote:
> Às 02:18 de 23/03/20, Paulo da Silva escreveu:
>> Hi!
>>
>> Suppose a class C.
>> I want something like this:
>>
>> class C:
>> KA=0
>> KB=1
> KC=2
>> ...
>> Kn=n
>>
>> def __init__ ...
>> ...
>>
>>
>> These constants come from an enum in a .h (header of C file).
>> Th
On 23/03/20 3:32 PM, Paulo da Silva wrote:
Às 02:18 de 23/03/20, Paulo da Silva escreveu:
Hi!
Olá,
Suppose a class C.
I want something like this:
class C:
KA=0
KB=1
KC=2
...
Kn=n
def __init__ ...
...
These constants come
Às 02:18 de 23/03/20, Paulo da Silva escreveu:
> Hi!
>
> Suppose a class C.
> I want something like this:
>
> class C:
> KA=0
> KB=1
KC=2
> ...
> Kn=n
>
> def __init__ ...
> ...
>
>
> These constants come from an enum in a .h (header of C fil