Php Remove First Item From Python