G+_Rud Dog Posted August 27, 2016 Share Posted August 27, 2016 Is there a simple GUI which allows you to place your cmd line script into a button-icon that when pressed will run that script? Just can't seem to wrap my head around learning GUI programming. Current writing in python 3 Link to comment Share on other sites More sharing options...
G+_Ben Reese Posted August 27, 2016 Share Posted August 27, 2016 You can create a gui in Python, but my python is rusty so I couldn't tell you how. Probably the easiest way is just to create a shortcut to your script. If double clicking the .py script doesn't run it automatically, you can create a shortcut that runs the python executable and passes that script to it. Link to comment Share on other sites More sharing options...
G+_Walter L. McCormick Posted August 27, 2016 Share Posted August 27, 2016 Have a look at kivy. It's python based and is pretty simple to learn. I just started playing with it today and already have something to show for. Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted August 27, 2016 Author Share Posted August 27, 2016 Walter L. McCormick Will do and thank you. Got any examples you have created? Link to comment Share on other sites More sharing options...
G+_Walter L. McCormick Posted August 27, 2016 Share Posted August 27, 2016 Look up "kivy crash course" on YouTube. Should be the first Playlist that shows up. That's where I started Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted August 27, 2016 Author Share Posted August 27, 2016 Ben Reese Thank you. Looking for something in the form that most programs present them self's in windows or unix GUI environment. A bit vague but think the idea is there. Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted August 27, 2016 Author Share Posted August 27, 2016 What is the difference between toolkits; Gtk, Qt, Tk, and wxWidgets and frameworks; Kivy, PyQt, gui2Py, libavg and wxPython? Also which wins the simplicity war? Link to comment Share on other sites More sharing options...
G+_Walter L. McCormick Posted August 27, 2016 Share Posted August 27, 2016 Never used any of them besides kivy. And I just started yesterday. However, with kivy it is pretty simple to learn. It reminds me of a CSS style sheet. A pro of using kivy is that it is cross platform including mobile. The same application that runs on the pc will run on android or ios once you compile for that platform. Link to comment Share on other sites More sharing options...
G+_Marcin Wisniowski Posted August 27, 2016 Share Posted August 27, 2016 Kivy is great but probably overkill in terms of learning curve, and required feature set. Check out https://github.com/chriskiehl/Gooey Link to comment Share on other sites More sharing options...
G+_Rud Dog Posted August 27, 2016 Author Share Posted August 27, 2016 Marcin Wisniowski Does this only function in linux? Link to comment Share on other sites More sharing options...
G+_Marcin Wisniowski Posted August 27, 2016 Share Posted August 27, 2016 No, it's cross platform. It uses wxPython for GUI. And with pyinstaller it's super easy to convert your script into a distributable executable (https://github.com/chriskiehl/Gooey#packaging). Link to comment Share on other sites More sharing options...
Recommended Posts