How to resize an image using pygame lib

For Example
background = pygame.image.load(“moonlight.png”)
How can I resize this image through code.
Cuz I have used different website to resize the image and using screen.blit
have printed on the dialogue but I wanna know if there is a way to resize it through code so that I wont have to use different application for that.

THX