In it’s simplest form, it’s base.screenshot().
This saves a .jpg file in the same directory.
To make it a .png file:
base.screenshot("yourfile.png", False)
The second argument indicates that Panda shouldn’t auto-generate a name for the screenshot, but must use ‘yourfile.png’ instead.