Pyhon issue in 3DSMax

hi,
recently i am starting to use python as replacement for maxscript, but i encounter the issues as following, any one has the same problem?

  • how to make the parameter animatable?
  • how to create the customized attribute blocks?
  • a weird one: when the function in python script get called, it will be always called twice, instead of once. I use blurIDE and QT

any input is appreciated,
thanks !