When I draw the image and the rect Wof the images, then the upper left corner of the rectangle is exactly in the center of the image.
def blitRotateCenter(image, left, top, angle):
rotated_image = pygame.transform.rotate(image, angle)
new_rect = rotated_image.get_rect(center = image.get_rect(center = (left, top)).center)
screen.blit(rotated_image, new_rect)
self.image = pygame.image.load("Bilder/car.png")
self.rect = self.image.get_rect()
blitRotateCenter(auto.image, auto.rect.x, auto.rect.y, auto.wagen_winkel)
draw.rect(screen,red,auto.rect)