Re: unify els database

2007-07-04 Thread rbsharp
On Jul 3, 2:25 pm, luca72 <[EMAIL PROTECTED]> wrote: > Hello and thanks for your answer, the unify db is on unix-sco and i > need to connect with linux machine with python > > Regards > > Luca Hello, perhaps I introduced the confusion by using the word "connect" ambiguously. What I do is to direct

Re: unify els database

2007-07-03 Thread rbsharp
On Jul 2, 3:35 pm, luca72 <[EMAIL PROTECTED]> wrote: > Hello > > How i can use to connect to a unify els database with python > > Regards > > Luca Hello, could you be more specific. I know that there is a ODBC-Driver for unify, if this is an option then it might be easier. Or do you want to connec

Re: A question on Encoding and Decoding.

2006-11-15 Thread rbsharp
Hello, I think this remark is more to the point. In my experience, the general problem is that python operates with the default encoding "ascii" as in sys.getdefaultencoding(). It is possible to set the defaultencoding in sitecustomize.py, with sys.setdefaultencoding('latin1'). I have placed sitecu

Re: pyExcelerator - Can I read and modify an existing Excel-WorkBook?

2006-07-13 Thread rbsharp
Hello, I agree that it would be nice to use one package to read and modify an Excel Sheet. I have only had to do either one or the other, read a sheet and use the data for something else, or export data to an Excel-Sheet. Perhaps you might like to look at xlrd: http://www.lexicon.net/sjmachin/xlrd

Re: Anyone compiling Python 2.3 on an SCO OpenServer 5 box?

2006-05-26 Thread rbsharp
I have a lot to do with Python and SCO but I never got above Python2.2 but that probably relates to the fact that I need to statically link some libraries into python. My notes on this subject are that if you need dynamic linking configure has a problem finding libdl.so, and that therefore you have

Re: Direct acces to db unify on unix sco

2006-04-28 Thread rbsharp
hello, I am not sure whether I have understood you correctly, but if you mean unify as in www.unify.com then it is possible to directly link in the unify libraries statically into python. My experience was that the unify libraries do not like dynamic linking. The process of static linking involves

Re: Using PyExcelerator

2006-03-23 Thread rbsharp
I would agree with the author, pyExcelerator is good at writing Excel but xlrd is better at reading. I was recently forced to use them in tandem because pyExcelerator had problems reading an Excel sheet and xlrd had no problems. greetings, Richard Sharp John Machin wrote: > On 23/03/2006 9:01 AM

Re: Shift-JIS to UTF-8 conversion

2005-05-20 Thread rbsharp
Hello, I think the answer is basically correct but shift-jis is not a standard part of Python 2.3. You will either need to use Python 2.4 where the cjkcodes are integrated or install them under Python 2.3. The link is http://cjkpython.i18n.org/ You then also need: import cjkcodecs.aliases Richard