Where is screenshot saved?

Asked by JP

Hi,

I'm using the following code to capture a screenshot but the path returned doesn't look like is saved locally can you please tell me where is saved?

        screen = Screen()
        file = screen.capture(screen.getBounds())
        print(file)

Path returned:
org.sikuli.script.ScreenImage@28fc6e8c

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
JP
Solved:
Last query:
Last reply:
Revision history for this message
JP (jpergega) said :
#1

I have used shutil instead above code it worked for me.