Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I searched so much but I couldn't find what I should use so I tried to use the built-in Tkinter but I can't find how to make what I want to make with it.
I want to have a text entry where user types something and my program makes some dynamic suggestions by opening a dropdown menu and user can choose the top option by pressing enter or they can click on one of the options or use up/down keys. and then that option will be added to a large text box under that single line textbox.
Can you recommend me any toolkit for python that I can make this GUI with? Also a link to a good tutorial for that toolkit would be much appreciated bc I'm new to python GUI.
Actually since this is very useful I'm sure there must be some snippet out there that would do this! But I can't find it yet!
Sorry if my question is a little too broad. But I'm so exhausted from searching to no avail. So I thought maybe some experienced people can easily help me out.
You can check out this module, which does exactly what you want (disclaimer: I am the author of that code).
Specifically, the code is not a tkinter.Entry widget, but a 'wrapper' (tk.Frame) around a tkinter.Entry and a tkinter.Listbox widget, the latter of which displays the results in an ordered list. If you want to redesign this behaviour yourself, I highly recommend using a similar approach rather than packing one widget below the other.
According to this link you have a lot of choices.
PyGTK
PyQt
wxPython
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I I just want to build a simple GUI (like button, scale changing parameter values) to update matplotlib plot using python. Which package is easier for me to use? TKinter, PyQt5, wxPython, etc??? I am not a software developer. I am an engineer. Just use python for data analysis and plotting. I like to have a simple gui to changing parameter values to update plot.
I am thinking if tkinter would be best? I came across the following example. It is pretty easier. Any suggestion would be appreciated.
Embed a pyplot in a tkinter window and update it
Thanks
Well if you are working on small projects then you should use Tkinter as it is easy use and user friendly but when you working on big projects then you need to use PyQt5 as it will give you lots of functionalities and it is easier to use too.
Believe it takes very less time to understand this library in python.
For learning purpose you can visit pdfdrive.com and download your free eBooks.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm using wxPython, (with python 2.7) and am curious as to anyone have provided a sort of guide or an overview over available widgets? When I say a widget I imply a graphical entity drawn on the screen.
I have seen the documentation of the API, and by assuming that all "widgets" are sublasses to wx.Window, a better overview can be found in "tree-view in the aforementioned documentation.
However, if I did not know beforehand (from a tutorial) what a "notebook" was (in the wx sense), it would have been hard to be inspired to use this widget, using only the API reference.
The freely available book "wxPython in action" shows some examples here and there, but does not either contain an overview.
Does a better, more graphical, overview or presentation exist? Not necessarily of all possible widgets, but at least the most popular?
The Phoenix documentation has screenshots of a lot of the widgets:
docs.wxpython.org/gallery.html
You should also download the wxPython demo. It shows nearly all the widgets and how to use them. It can be found at http://www.wxpython.org
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
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 a library that would could help me out with this project. Most of my Python work has been in research, and I haven't built any GUI's so I'm not really familiar with any libraries that could help me out. I'm sure there's more than one library that fits the bill. Which do you recommend? Why?
A few requirements/notes
I'd like for the tool to be completely cross platform
(Linux/Mac/Windows)
I have to be able to draw things outside of a 'special' window. If I'm making a powerpoint presentation I'd like to be able to highlight or underline a key point. Or circle something on a picture etc.
I'd like to be able to get the position of the mouse on my screen and feed that back into the program.
Here's a link to a video showcasing the kind of tool I'd like to build
How To Highlight, Draw, Sketch Anything on Windows Screen Free Software
You will need to create a transparent widget that covers the screen so that you can draw on it. I don't know how each of the GUI toolkits does this, but I'm sure they all have the functionality necessary to grab the screen's size and create a window that can cover it. With wxPython, you would create a wx.Frame instance and call its SetTransparent method. You can see an example of that here:
http://www.blog.pythonlibrary.org/2008/04/14/doing-a-fade-in-with-wxpython/
The wxPython demo includes a drawing demo that you might also want to take a look at.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Hi all i want to web based GUI Testing tool. I found dogtail is written using python. but i didnot get any good tutorial and examples to move further. Please Guide me weather dogtail is perfect or something better than this in python is there?. and if please share doc and example.
My requirement:
A DVR continuous showing live video on tile(4 x 4 ), GUI is web based(mozilla) . i Should be able to swap video and check log and have to compare actual result and present.
Selenium is designed exactly for this, it allows you to control the browser in Python, and check if things are as expected (e.g check if a specific element exists, submit a form etc)
There's some more examples in the documentation
Project Sikuli is a similar tool, but is more general than just web-browsers
Selenium provides a python interface rather than just record your mouse movements, see http://selenium-python.readthedocs.org/en/latest/api.html
If you need to check your video frames your can record them locally and OCR the frames looking for some expected text or timecode.
For Simple form based UI Testing. I have created a framework using python/selenium/phantomjs although it can do complex stuff too. I am yet to document it. (If you don't need to run firefox you don't need to install phantomjs)
https://github.com/manav148/PyUIT
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am in need of making an interface for Automata Construction. For those who are unaware of what an automata is, I basically need circles and arrows, extending them on the user interface and then various text to describe it. For example :- http://en.wikipedia.org/wiki/File:DFAexample.svg
I was wondering if there is any advanced library in Python which could let me do all of this. Please give me suggestions. I plan to use lots of internal frames and showing parsing of strings diagramatically . I had planned to use jython to use the swing libraries but I would like to know if there any other suggestions that I can use.
I've used PyQt4 to produce something like this:
http://doc.qt.nokia.com/4.6/graphicsview-diagramscene.html
which is the C++ version. Draw boxes, draw arrows, drag them around and so forth. Actually I think I pretty much ported the C++ version line-by-line to Python. Or someone else did.
PySide (Qt), WxPython, PyGtk
I looked at your picture and have another one idea - you can use graphviz and pydot.