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
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
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
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
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.
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
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