You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
res,_ = zenity.show(zenity.question,text="Is it ok?")
if res:
print("it's ok")
PS E:\programmirovanie_dialogov> & C:/Python310/python.exe e:/programmirovanie_dialogov/test.py
"sudo"is not internal or external
command, executable program, or batch file.
Traceback (most recent call last):
File "e:\programmirovanie_dialogov\test.py", line 3, in
res,_ = zenity.show(zenity.question,text="Is it ok?")
TypeError: cannot unpack non-iterable bool object
PS E:\programmirovanie_dialogov>
https://pypi.org/project/Zenity/ This page has a word about Windows. Maybe some other version is needed?
Operating System
MacOS :: MacOS X
Microsoft :: Windows
OS Independent
POSIX
Programming Language
Python
Python :: 2.7
Python :: 3
Python :: 3.4
Python :: 3.5
Python :: 3.6
Python :: 3.7
I tried to run with Python 3.7. In this case, there was a message:
PS E:\programmirovanie_dialogov> & C:/Python37/python.exe e:/programmirovanie_dialogov/test.py
Traceback (most recent call last):
File "e:/programmirovanie_dialogov/test.py", line 3, in
res,_ = zenity.show(zenity.question,text="Is it ok?")
AttributeError: module 'zenity' has no attribute 'show'
The text was updated successfully, but these errors were encountered:
Microsoft Windows [Version 10.0.19044.2486]
import zenity
res,_ = zenity.show(zenity.question,text="Is it ok?")
if res:
print("it's ok")
PS E:\programmirovanie_dialogov> & C:/Python310/python.exe e:/programmirovanie_dialogov/test.py
"sudo"is not internal or external
command, executable program, or batch file.
Traceback (most recent call last):
File "e:\programmirovanie_dialogov\test.py", line 3, in
res,_ = zenity.show(zenity.question,text="Is it ok?")
TypeError: cannot unpack non-iterable bool object
PS E:\programmirovanie_dialogov>
https://pypi.org/project/Zenity/ This page has a word about Windows. Maybe some other version is needed?
Operating System
MacOS :: MacOS X
Microsoft :: Windows
OS Independent
POSIX
Programming Language
Python
Python :: 2.7
Python :: 3
Python :: 3.4
Python :: 3.5
Python :: 3.6
Python :: 3.7
I tried to run with Python 3.7. In this case, there was a message:
PS E:\programmirovanie_dialogov> & C:/Python37/python.exe e:/programmirovanie_dialogov/test.py
Traceback (most recent call last):
File "e:/programmirovanie_dialogov/test.py", line 3, in
res,_ = zenity.show(zenity.question,text="Is it ok?")
AttributeError: module 'zenity' has no attribute 'show'
The text was updated successfully, but these errors were encountered: