Make vbscript code in python