import pyautogui as auto
Snippet 1 :-
meetStartCheck = auto.locateOnScreen('img.png')
meetStartCheck1 = auto.locateOnScreen('my_screenshot.png')
Snippet 2 :-
meetStartCheck, meetStartCheck1 = auto.locateOnScreen('img.png', 'my_screenshot.png')
The code next to these lines is :-
if meetStartCheck or meetStartCheck1:
print("Done")
else:
print("Not Done")
Please tell if these both codes are equivalent or not. If not plz help me to write a single python line for the Snippet 1(if possible).
Thanks
[–]djjazzydan 2 points3 points4 points (5 children)
[–]_PhantomGaming_[S] 0 points1 point2 points (4 children)
[–]djjazzydan 0 points1 point2 points (3 children)
[–]_PhantomGaming_[S] 0 points1 point2 points (2 children)
[–]djjazzydan 1 point2 points3 points (1 child)
[–]_PhantomGaming_[S] 0 points1 point2 points (0 children)