Subscribe Python - public codes