Questions tagged [pygui]

Cross-platform Pythonic GUI API

  • Develop a GUI API that is designed specifically for Python, taking advantage of Python's unique language features and working smoothly with Python's data types.

  • Provide implementations of the API for the three major platforms (Unix, Macintosh and Windows) that are small and lightweight, interposing as little code as possible between the Python application and the platform's underlying GUI facilities, and not bloating the Python installations or applications which use them.

  • Document the API purely in Python terms, so that the programmer does not need to read the documentation for another GUI library, in terms of another language, and translate into Python.

  • Get the library and its documentation included in the core Python distribution, so that truly cross-platform GUI applications may be written that will run on any Python installation, anywhere.

18 questions
6
votes
2 answers

Installing downloaded tar.gz files with pip

When I download PyGUI-2.5.4.tar.gz from http://www.cosc.canterbury.ac.nz/greg.ewing/python_gui/ and then run pip install downloads/PyGUI-2.5.4.tar.gz I get a long error, the root of which appears to be the following: tarfile.ReadError: not a gzip…
Shane
  • 447
  • 2
  • 6
  • 18
2
votes
0 answers

auto-py-to-exe File not found error on run

i know i should share the code instead of image but please refer image for my path. This is my path of project setup file contains from Functions.MainWindow import Ui def OpenMainwindow(self): try: app = QtWidgets.QApplication(sys.argv) …
Bijaya Kumar
  • 37
  • 1
  • 9
2
votes
2 answers

Error in pyautogui

I use Python 2.7 on a windows 7. I use pycharm and IDLE. I was trying out pyautogui for some automatic mouse movements, but the program returned that puautogui as not defined. I have read online that pyautogui doesnot require any additional packages…
1
vote
1 answer

PyGTK menu doesn't display under Ubuntu Unity?

I have a PyGTK application, and it works fine in Gnome, but under Unity (ubuntu 10.10+) the global menu bar doesn't work - the menus are not displayed in the application window or the top bar. Is there a way to force the menu to either skip the…
Skyler
  • 909
  • 1
  • 10
  • 24
1
vote
1 answer

Pyqt5 Widgets get shifted to center using GridLayout

So I am basically creating a grid layout for my application. However after I change width of the textbox the entire widgets get shifted to center which I don't want. Please help me : def createlayout(self): …
Omi
  • 75
  • 1
  • 8
1
vote
1 answer

Reduce spacing in PyQt5 - GridLayout - Between the widgets

I am new to PyQt5, I created a grid layout as shown in figure I want to reduce the gap between the three widgets, I tried playing around margins, spacing and row stretch but none have worked, Please look ar the image in hyperlink and help me…
Omi
  • 75
  • 1
  • 8
1
vote
1 answer

cannot import name 'Desktop' from 'pywinauto'

I'm trying to use pywinauto to control the calculator in win 10. I installed pywinauto-0.6.8 and from pywinauto import Desktop, Application app = Application(backend="uia").start('calc.exe') dlg =…
williamfaith
  • 247
  • 2
  • 4
  • 9
1
vote
1 answer

Add PyGUI to project

I am using Windows 7, with PyCharm (community version!) as an Python editor. I now want to begin using GUI elements for Python. I decided to go with PyGUI... How can I add it as a library in PyCharm?
Thugge
  • 208
  • 1
  • 4
  • 10
1
vote
1 answer

Use a mouse to draw on a screen with python?

I'd like to create a tool in python that I can use to draw things on my screen. I found one tool that does what I want, Epic Pen, but it's only supported on Windows and it doesn't have all the functionality I need. I was hoping someone could suggest…
ttmarek
  • 2,926
  • 1
  • 14
  • 19
1
vote
2 answers

pywin32 and pygui error Version not found

I installed pygui and pywin32 for my 64-bit python 2.7 (I installed 64-bit for those too) and when I try to use pygui, which uses pywin32, python gives me this error. I'm sure that other people might have similar problems. Traceback (most recent…
0
votes
0 answers

How to make texteditor window in PyGUI scroll to the bottom?

I have a TextEditor window that I am using to display a log, and I need to make it show the bottom of the log. How do I make it scroll down to do this?
Skyler
  • 909
  • 1
  • 10
  • 24
0
votes
0 answers

PyGUI script closing the window without any action

I have this python3 script that accepts pdf files using a pygui dialog box and checks if the URL on every page works fine or if the URL is broken. This script does not return the list of URLs mentioned in the script code and closes the dialog after…
Sandy
  • 23
  • 5
0
votes
1 answer

Tkinter GUI implemented with Separate Python file with functions

I am having problem with having a GUI interface to be implemented via a second file which just contains the file to read, plots made and some new functions to be evaluated based on that. I am trying to create a GUI application using Tkinter. The…
Stan
  • 786
  • 1
  • 9
  • 25
0
votes
1 answer

can't invoke "button" command: application has been destroyed

I am first time using tkinter.Some error always show up when i execute this code. I just wanted a gui for a simple python project. errors are widgetName, self._w) + extra + self._options(cnf)) _tkinter.TclError: can't invoke "button" command:…
0
votes
1 answer

ImportError: Unable to find an implementation of PyGUI for this installation

I had a simple app up and running that used the PyGui package. After I decided I had everything working I refactored my code and basically broke it up over multiple files, but I am fairly sure I did not change the location of any files. Now when I…
1
2