Can I connect Amibroker and Python in Python3.6 64bits ?

I know that I can integrate Amibroker and Python with COM Server .
And I have tried this method successfully.
However , it seems like it could only work in python2 ??????

I have downloaded "Pywin" with version python 3.6 ion this website.

But it looks not working....

Python Script

import pythoncom
from win32com.server.exception import COMException
import win32com.server.util
import win32com.client.dynamic
import win32api, win32con
import win32gui
import random

class PythonUtilities(object):
    _public_methods_ = ['IIR2']
    _reg_clsid_ = "{25F32489-9E84-4D9F-8AEB-44DC9B528405}"
    _reg_desc_ = "Utilities for Extending Amibroker AFL"
    _reg_progid_ = "PyAFL"
    _readonly_attrs_ = ['revision']

    Log = ""  # Log may be a  string use to pass text to AFL

    def IIR2(self, InList):
        # example infinite impulse response filter from Amibroker docs
        self.revision = "version 1"
        a = len(InList)
        win32api.MessageBox(0, str(a), 'title')
        # just do some test 

if __name__ == '__main__':
    print("Registering COM Server ")
    import win32com.server.register

AFL Script

//Create Python Com Object//

SetPositionSize(1000, spsShares);
bandMALen = Optimize("bandMALen", 125, 10, 125, 5);//24
bandWidth = Optimize("bandWidth", 2, 0.75, 2, 0.25);//6

midBand = 0;
upBand = 0; 
dnBand = 0;

upBand = BBandTop(close, bandMALen, bandWidth);
dnBand = BBandBot(close, bandMALen, -bandWidth);
midBand = MA(close, bandMALen);

Buy = Cross(Close, upBand);
Sell = Cross(dnBand, close);

para = MyObj.IIR2(bandMALen);

And this is the bug

What's going on?