Re: [Tutor] GUI

2015-02-02 Thread Alan Gauld
On 02/02/15 20:59, Marc Tompkins wrote: I suspect the standard GUI framework Tkinter is not going to be your best bet. You might find that PyQt or PyGTK will offer better multi lingual support (although thats just a guess on my part!). Might I also suggest wxPython? I tried Tk and Qt early o

Re: [Tutor] GUI

2015-02-02 Thread Mark Lawrence
On 02/02/2015 21:48, Marc Tompkins wrote: On Mon, Feb 2, 2015 at 1:18 PM, Mark Lawrence wrote: On 02/02/2015 20:59, Marc Tompkins wrote: On Mon, Feb 2, 2015 at 9:13 AM, Alan Gauld wrote: Don't expect a whole heap of support from the GUIs. A lot of the work will have to come from you. I

Re: [Tutor] GUI

2015-02-02 Thread Marc Tompkins
On Mon, Feb 2, 2015 at 1:18 PM, Mark Lawrence wrote: > On 02/02/2015 20:59, Marc Tompkins wrote: > >> On Mon, Feb 2, 2015 at 9:13 AM, Alan Gauld >> wrote: >> >> Don't expect a whole heap of support from the GUIs. A lot of the work >>> will >>> have to come from you. >>> I suspect the standard G

Re: [Tutor] os module question

2015-02-02 Thread Cameron Simpson
On 02Feb2015 17:01, alan.ga...@btinternet.com wrote: On 02/02/15 13:46, maurice.ho...@thomsonreuters.com wrote: Basically I have trouble with two things: 1) Get the server to take the hostname and use it to run a command against it os.uname() will return a tuple. The second item is the

Re: [Tutor] GUI

2015-02-02 Thread Mark Lawrence
On 02/02/2015 20:59, Marc Tompkins wrote: On Mon, Feb 2, 2015 at 9:13 AM, Alan Gauld wrote: Don't expect a whole heap of support from the GUIs. A lot of the work will have to come from you. I suspect the standard GUI framework Tkinter is not going to be your best bet. You might find that PyQt

Re: [Tutor] GUI

2015-02-02 Thread Marc Tompkins
On Mon, Feb 2, 2015 at 9:13 AM, Alan Gauld wrote: > Don't expect a whole heap of support from the GUIs. A lot of the work will > have to come from you. > I suspect the standard GUI framework Tkinter is not going to be your best > bet. You might find that PyQt or PyGTK will offer better multi ling

Re: [Tutor] GUI

2015-02-02 Thread Alan Gauld
On 01/02/15 20:16, D.Edmons wrote: I've compiled both python2 and python3 and am starting to learn them well enough to do a GUI application that requires UTF-8. OK, We can help with the basics, thats what this group is for. Learning Python and its standard library. Anyway, I suspect that I'l

Re: [Tutor] os module question

2015-02-02 Thread Alan Gauld
On 02/02/15 13:46, maurice.ho...@thomsonreuters.com wrote: This is my first post. I'm a sysadmin and I'm new enough to python so I'm trying to practice. Welcome to the list. It looks like you are running a Unix variant but it helps to tell us exactly which OS and Python version. I'm want t

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] os module question

2015-02-02 Thread maurice.horan
Hi, This is my first post. I'm a sysadmin and I'm new enough to python so I'm trying to practice. I'm want to run a script that takes a server name from the command line and takes that servername which queries an internal asset database. I thought I could use the os module to take servername a

[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

Re: [Tutor] Assistance with UnicodeDecodeError

2015-02-02 Thread Dave Angel
On 02/02/2015 02:52 AM, Cristian Di Stefano wrote: Hi Dave, you should set the correct encoding (maybe utf-8) in order to handle data from web. You cannot handle unicode data with simple string, you should encode to ASCII or manage data with the unicode type Best Cristian Please don't top-po

Re: [Tutor] Assistance with UnicodeDecodeError

2015-02-02 Thread Cristian Di Stefano
Hi Dave, you should set the correct encoding (maybe utf-8) in order to handle data from web. You cannot handle unicode data with simple string, you should encode to ASCII or manage data with the unicode type Best Cristian Il 31/01/2015 23:44, Dave Angel ha scritto: On 01/31/2015 08:37 AM, J