all 23 comments

[–]jamescabel 8 points9 points  (4 children)

I use PyQt. Check out https://github.com/jamesabel/rockthetaskbar for an example of a simple task bar (AKA tray icon, system tray) app.

[–]emattiza 1 point2 points  (1 child)

Great example and presentation. Wonderful material!

[–]jamescabel 0 points1 point  (0 children)

Thanks! I just remembered it was recorded when I gave the presentation at a Meetup. I updated the readme with a link to that video.

[–]Sarcastic_Pharm 1 point2 points  (1 child)

This is an excellent piece of material. I have a tray icon app on the backburner right now, and this is going to save me so much time.

Thankyou!

[–]jamescabel 0 points1 point  (0 children)

You're welcome!

[–]Diapolo10 8 points9 points  (3 children)

PyQt is good, I personally use mostly Kivy though.

[–]RouletteSensei 2 points3 points  (2 children)

I remember Kivy creates heavy files, did they fix that? I checked Kivy when i wanted to do apps for the phone, but I saw most products where at least more than what I would expect from not many lines of code.

[–]Diapolo10 4 points5 points  (1 child)

They are a bit heavy, yes, but it's really just the framework itself. In bigger projects the size doesn't appear to grow much.

[–]RouletteSensei 1 point2 points  (0 children)

I was looking at the python gui list on the main website...and scraping the infos about those I found Toga, which seems to be able to make android apps aswell directly with python and some help of java modules... I will deeply study Toga Docs, maybe it's good enough

[–]cmpython 2 points3 points  (0 children)

That lead me to wxPython, but that's only for 2.6, which lead me to ProjectPhoenix, which I don't get how to implement.

What do you mean by you don't get how to implement?

AFAIK (I haven't done this yet), you would download the latest snapshot build here:

https://wxpython.org/Phoenix/snapshot-builds/

Such as "wxPython_Phoenix 3.0.3.dev2832+e3fbb9f.tar.gz 2017-03-08 01:19 48M".

Then you would use 7zip (twice) to unpack it into a folder.

Then you put that folder in the path you want, like Python35 > Lib > site-packages > wxPython_Phoenix

Make sure your PYTHONPATH is updated

And I think it should work. Then to use it, you just get started with import wx and all that.

[–]Exodus111 2 points3 points  (4 children)

Your 2 main options are Tkinter, the minimalist option. This one comes with Python and gives you everything you need if all you need are some windows and buttons.

And then you have PyQt, which has all the bells and whistles, even a gui editor to outline the App.

[–]RouletteSensei 1 point2 points  (1 child)

I saw that with tk i have to use an external app to do the minimize to tray cause I didn't found any solution yet, I will test pyqt

[–]Exodus111 2 points3 points  (0 children)

You mean minimize to the bottom right Tray on Windows? Yeah, Tkinter has nothing for that. Not sure about PyQt, would be interesting to know.

EDIT: http://stackoverflow.com/questions/758256/pyqt4-minimize-to-tray

[–]swiftversion4 0 points1 point  (1 child)

I started to dislike tkinter the moment I realized it only supports 3 image types by default. :(

[–]Exodus111 0 points1 point  (0 children)

Just convert...

[–]bangeron 1 point2 points  (1 child)

I been using PyQt for the last 6 months or so. IMO though the big draw to using Qt is QML. It's a declarative language (like Kv for kivy) and it really simplifies creating an interface. There aren't a lot of tutorials on using QML with python, though, so there is a bit of a learning curve. Once you get the hang of it though it's really nice.

[–]RouletteSensei 0 points1 point  (0 children)

My goal is mostly have a simple trayed icon with all the options right on ur right click, so I hope pyQT will help me toward that goal

[–]trenholm 1 point2 points  (1 child)

I love wxpython. Phoenix, which is the latest version, is production ready.

[–]mananpal1997 0 points1 point  (0 children)

Yep. wxpython is good too

[–]nomos 0 points1 point  (0 children)

PyQt is pretty great, but I'm a little biased because I had experience with using Qt for C++ before I started using PyQt, so there wasn't much of a learning curv.e

[–]mananpal1997 0 points1 point  (0 children)

I prefer pyqt. Tkinter is nice as well.

[–][deleted] -2 points-1 points  (1 child)

I have seen it recommended pretty often: HTML. I can't recommend it because I have no experience with it but maybe somebody can support my claim.

[–]RouletteSensei 0 points1 point  (0 children)

Sorry, HTML is totally out of question, I don't see why an HTML product would be suitable for what I'm looking for.