In object oriented languages like C++ and Java you do not pass self as an argument, this is a feature unique to tlre Pythons syntax and might even be a little annoying at first.
If you want to change selection, open document below and click on "Move attachment"
pdf
owner:
bian222 - (no access) - PYTHON SCRIPTS FOR ABAQUS.pdf, p76