Re: [Tutor] Wondering about a project

2015-02-03 Thread dw
Thanks Dave A for your Tips!! I greatly appreciate. :-D Duane -- bw...@fastmail.net ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Wondering about a project

2015-02-03 Thread dw
Thanks Alan for the tips!!! I greatly appreciate. :-D Duane -- bw...@fastmail.net ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Wondering about a project

2015-02-03 Thread Dave Angel
On 02/03/2015 07:12 AM, Alan Gauld wrote: On 02/02/15 18:42, dw wrote: You forgot to tell us the Python version you're targeting. From various clues in your code, I have to assume you're using 2.7, but if I'm wrong, there are other comments I should have made. geturl="" You don't reall

Re: [Tutor] Wondering about a project

2015-02-03 Thread Alan Gauld
On 02/02/15 18:42, dw wrote: geturl="" You don't really need this since you assign it inside the loop. while True: call(["clear"]) geturl= input("Enter Youtube URL ") if len(geturl)==0: break def unquote(geturl): return re.compile('%([0-9a-fA-F]{2})',re

Re: [Tutor] Wondering about a project

2015-02-03 Thread dw
Well I've made some progress in terminal mode. The OS is Ubuntu 12.04 LXDE desktop This script works. It prompts for the url, lets the user confirm download and then runs the video in Gnome-Player. Once Gnome-Player is dropped by the user, it prompts to either move the file to storage or delete.

Re: [Tutor] Wondering about a project

2015-02-02 Thread Alan Gauld
On 02/02/15 13:45, dw wrote: Hi Python gang. In my Ubuntu system, I'm pondering a first GUI Python project: 1) Prompt for a user input string. The intended string would be a youtube URL 2) Call youtube-dl to download the file 3) When the file is downloaded, call GnomePlayer or VLC to play th

[Tutor] Wondering about a project

2015-02-02 Thread dw
Hi Python gang. In my Ubuntu system, I'm pondering a first GUI Python project: 1) Prompt for a user input string. The intended string would be a youtube URL 2) Call youtube-dl to download the file 3) When the file is downloaded, call GnomePlayer or VLC to play the file I'm new at Python and ha