Mathematical operators in python code
Can some one explain this statement. I think this code is written in C and I am trying to convert it in python. Please bare with me as I am new to python and programming.

    class hello(object):
           
          def abc(self):
               d =[0] * 2048
               d = [2048/8] |= 0x01 << 2048%8 # how type this in python
                return d

Thank  you

Mathematical operators in python code
===

Can some one explain this statement. I think this code is written in C and I am trying to convert it in python. Please bare with me as I am new to python and programming.

    class hello(object):
           
          def abc(self):
               d =[0] * 2048
               d = [2048/8] |= 0x01 << 2048%8 # how type this in python
                return d

Thank  you
