Re: [Tutor] opening a file directly from memory

2009-11-18 Thread mjekl
Humm. Most enlighting. For my case the solution is clearly to have an initialization file. In case the specified extension is not known then I'll prompt the user to save the file and pass on the responsibility. Txs everyone, Miguel _

Re: [Tutor] Open Source database software

2009-11-18 Thread mjekl
Kent Johnson wrote: On Mon, Nov 24, 2008 at 7:19 PM, Mike Meisner wrote: > 3. A good GUI front end for creating the database, creating forms for user > data input, queries, reports, etc. For this you might look at Dabo: http://dabodev.com/ I haven't worked with it myself but some people

Re: [Tutor] opening a file directly from memory

2009-11-17 Thread mjekl
Alan Gauld wrote: wrote Yes. My program knows. A database column stores the complete file name (including extension), and I can be certain the applications will be available to run the file. You still haven't answered the question. We have established that a) The OS knows what program i

Re: [Tutor] opening a file directly from memory

2009-11-14 Thread mjekl
da...@ieee.org wrote: (You forgot to send this message to the list, so I'm forwarding it) mj...@iol.pt wrote: da...@ieee.org wrote: mj...@iol.pt wrote: I'm wondering if I must save a file to memory before opening it. By opening I mean displaying it to the user. I have a BLOB field in a db

Re: [Tutor] opening a file directly from memory

2009-11-14 Thread mjekl
da...@ieee.org wrote: mj...@iol.pt wrote: I'm wondering if I must save a file to memory before opening it. By opening I mean displaying it to the user. I have a BLOB field in a db and I have managed to read the blob into a binary fileobject. I've also managed to write it to disk and then I o

[Tutor] opening a file directly from memory

2009-11-14 Thread mjekl
I'm wondering if I must save a file to memory before opening it. By opening I mean displaying it to the user. I have a BLOB field in a db and I have managed to read the blob into a binary fileobject. I've also managed to write it to disk and then I open it by doubleclicking on it. But I was

Re: [Tutor] compiling python into an executable

2007-04-29 Thread mjekl
I think what you are looking for is: http://pyinstaller.python-hosting.com/ Best, Miguel ___ Sabe qual e o credito pessoal MAIS FACIL DE PAGAR no futuro? Aquele em que as PRESTACOES DESCEM ao longo do emprestimo?

[Tutor] Problems with encoding

2006-07-28 Thread mjekl
>kent37 at tds.net wrote: >>mjekl at iol.pt wrote: >> Hi, >> >> >> My interpreter in set via sitecustomize.py to use utf-8 as default encoding. >> >> I'm reading fields from a dbf table to a firebird db with encoding set to >> win1252. >

[Tutor] Problems with encoding

2006-07-26 Thread mjekl
Hi, My interpreter in set via sitecustomize.py to use utf-8 as default encoding. I'm reading fields from a dbf table to a firebird db with encoding set to win1252. I guess it's original encoding is cp850, but am not sure, and have been addressing exceptions one by one with lines of: r = r.rep