Closed yw-teh closed 2 years ago
You are right, this is for python 2.7 which is still supported. We can add
from __future__ import print_function
and use print()
.
On Tue, Dec 8, 2020 at 6:03 AM Yik Wei notifications@github.com wrote:
Microsoft Windows [Version 10.0.19041.630] (c) 2020 Microsoft Corporation. All rights reserved.
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>python check-import.py No global python version has been set yet. Please set the global version by typing: pyenv global 3.7.2
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>pyenv global 3.7.2 pyenv specific python requisite didn't meet. Project is using different version of python. Install python '3.7.2' by typing: 'pyenv install 3.7.2'
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>pyenv global 3.7.3
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>python check-import.py File "check-import.py", line 40 print "OK" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("OK")?
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dtmilano/AndroidViewClient/issues/287, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHP3USVYE2OEAUIYD63PALSTYW4XANCNFSM4USAKBOA .
-- Have you read my blog ? http://dtmilano.blogspot.com android junit tests ui linux cult thin clients
Microsoft Windows [Version 10.0.19041.630] (c) 2020 Microsoft Corporation. All rights reserved.
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>python check-import.py No global python version has been set yet. Please set the global version by typing: pyenv global 3.7.2
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>pyenv global 3.7.2 pyenv specific python requisite didn't meet. Project is using different version of python. Install python '3.7.2' by typing: 'pyenv install 3.7.2'
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>pyenv global 3.7.3
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>python check-import.py File "check-import.py", line 40 print "OK" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("OK")?
C:\Users\yikwe\Downloads\AndroidViewClient-master\examples>