Git Product home page Git Product logo

Comments (5)

m1zar avatar m1zar commented on September 8, 2024

Reading the cheat sheet commit, it doesn't say if it still returns none or not. Or anything on how to handle it easily. Could a switch be added so the original functionality is still available. I've used that fact it returns None or the coordinates throughout. And don't like the idea of handling exceptions, sounds like a less reliable way to know an image is not on the screen. But hey, what do I know... not a lot to be honest! :-)

from pyautogui.

m1zar avatar m1zar commented on September 8, 2024

I support I could PIP install an older version? Which is the last release to return 'none' for none found? I'll try that.

from pyautogui.

darkb0ts avatar darkb0ts commented on September 8, 2024

However, it's also understandable that not finding an image could be a valid outcome in some cases, and you may not always want to handle it as an exceptional situation. In such cases, you can certainly handle the exception using a try-except block to gracefully handle the situation without interrupting the flow of your program.

from pyautogui.

bokai613 avatar bokai613 commented on September 8, 2024

I encountered the same question, you can try rollback PyScreeze to 0.1.29, 0.1.30 will occur this question

from pyautogui.

ash2262 avatar ash2262 commented on September 8, 2024

Yes I am also facing this issue. Can we somehow rollback to the previous version

from pyautogui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.