support python compile