register python