How To Enter Script Mode In Python