-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe implement a GUI as an optional module #184
Comments
Oh, I guess that I forgot to mention: the way that I see how one preliminary implementation of this would work is as a simple "moral equivalent" of our function |
I can understand your position. The GUI (Tk based, Python 3.3 only) is quite functional now with features just enough to use it on a daily basis, at least for me. I have even wrapped up wget as an alternate downloader and show GUI progress bars with information from wget. Along with visual filtering of resources, it actually turned out quite good. As for installation, I only ask for Python 3.3 on the user's system. Nothing else. I ship all the dependencies needed (yes, their licenses permit this, unless you know something I don't, please let me know). I am also exploring the possibility of an executable egg file, which as I understand it, will enable users to download a single zip-like file and double click it to see the GUI window. You can see the current work on the PS: As for the |
Oh and one more thing if anyone is willing to try out the GUI, I haven't taken any measures to ensure download directory and file name structure to be consistent with this command line script. While I haven't knowingly deviated from what it was when I forked it, I can't assure full consistency. |
I've tried the gui on OSX, but I can't get it to work:
After googling for a while, I've concluded that python and tkinter is a source of trouble. |
Surprising conclusion because I'm starting to really like tkinter. I had that opinion before but I like it more than GTK and wx now (only others that I tried).
I am on (L)Ubuntu 13.04 and when I see this error, I install |
Hi there. On Aug 31 2013, Jonas De Taeye wrote:
That's because tix, AFAIK, is a new, external module that would need to be Also, it is my understanding that Tkinter (or tkinter, in python3) is always But having a GUI would lower the barrier for many of our users (well, not Just typing I wouldn't mind merging the GUI parts slowly in a feature branch (or even Of course, I am thinking of creating our first tag in the project, so that And, then, happy hacking for those that want to experiment/learn new OK, I realize that this is a bit long and it is way past the time for me to Thanks, Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA |
Hi, Shrikant and Jonas (and other following our project). On Aug 31 2013, Shrikant Sharat wrote:
Well, in my experience, tk under non-windows (well, at least under BUT for the purposes of our project, I think that tkinter is the way to I guess that we can also offer a dmg file for Mac users, if we ever
If I remember correctly, when I tried playing with GUIs (see my project Do you make use of any of those extra widgets, Shrikant? Are they totally Wearing my Debian Maintainer hat, that essentially means, in Debian, that Some background: the Debian QA Group is an umbrella that takes care of the I also noted that tix (as is) in Debian, may only be available for tk 8.5, Well, I guess that all that I wrote above means: "can we drop tix as one of
Possibly, with homebrew or pip, but I am sure that Jonas knows this way
Are there any Python 3-specific parts, apart from the name of the module Thanks for everything, Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA |
Now that you mention it, I checked to see if the app works without importing Tk being available with Python on windows is a big reason for me start this project with Tk. Granted it looks less than pretty on Linux, but its not ugly, not to my eyes at least :). Besides, this is not something like your browser or email app which you stare at all day. This is intended to just select the downloads and put it aside. Once done, close it and get over it. So, that's also a non-issue as far as I'm concerned.
Not sure. Didn't explore it. The way I see it, this is an application, not a library to be supporting various versions of target runtimes. If I support only Python3, it not only saves me from 2-3 version troubles, but it lets me say "Download this Python3-setup.exe, install and run this script". Its about time people (especially python programmers) have python3 on their systems anyway don't you think? Nevertheless, I think besides the tkinter import, I expect the subprocess to create some unicode related problems on some operating systems. Can't say until I test it out. |
Sorry for not being clear enough, but I mean on OSX.
I'm fine with asking users to install Tcl/Tk from the Active State website, so if you could use another widget library then tkinter might be an option for OSX. |
Ah, I have no experience with OSX so I wouldn't know. Anyway, the latest version on the gui branch is sans the I uninstalled |
I'm working on a GUI that should be working with Python 2.6/2.7 - but in different repository. When it's finished I will let you know and link it here. |
@ekianjo are you doing any UX? |
@webhat I'm working on Yad-based GUI. |
I have done a hacking to run |
I have a friend from highschool that I had not met for about 20 years now.
She works as a psychologist and, when I mentioned that there was this thing called coursera, that they had courses that also included psychology and that I worked on a program that downloaded the videos to play them back whenever she had the time to watch them, she was excited.
Unfortunately, she probably doesn't even know about something called "the command line" and I would expect that asking her to "hey, get an account on this site called github as a way to follow the development of our program" would be an indirect step to the goal that would totally turn her off.
I guess that I would be willing to merge a GUI as an optional module (say, invoked with a command-line option like
--gui
or with a differentcoursera-dl-gui
command or something like this) so that people like her would be able to use the program.In a private conversation with @sharat87, he mentioned that he was going to implement a GUI in his fork. I guess that we can have it here, especially for people like the friend of mine that I just mentioned above.
In the case of my friend, I guess that I will also have to help her with the installation of the program, as she is likely to not know what "python" means.
And I will have to opportunity to experience how easy/hard it is to install our program under Windows (that's what she uses).
Comments, anyone? @jplehmann, @jonasdt, other people following our development?
Rogério Brito.
The text was updated successfully, but these errors were encountered: