ac-source add python mode