On 28 Aug 2006 00:01:06 -0700, bobrik <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am using the Python DB API for access to MySQL. But it is not
> platform-independent - I need a module not included in Python by
> default - python-mysql, and it uses a compiled binary _mysql.so. So it
> is not platform
[EMAIL PROTECTED] wrote:
... snip ...
> So, if what you were really asking was "what SQL databases can I access
> without installing any software other than Python?", then the answer is "No
> SQL databases were distributed with Python prior to 2.5. Starting with
> Python 2.5, access to sqlite
Boris Dušek wrote:
> Bruno Desthuilliers wrote:
>
>>> but what if the OS with server accessing the site that is on
>>> shared area changes?
>> And what if Python is not installed on it ?-)
>>
>> Seriously, do you think that hosting companies swap OS very often ?
>
> No, I don't. But I was trying
"Boris Duek" <[EMAIL PROTECTED]> writes:
> Yes, you excactly got my point. The thing is that I can't rely on
> Python 2.5 to be installed soon.
> So the only solution for me at this moment is to use jython and from
> there use Java JDBC API (sorry :-)
Assuming Java is installed on an arbitrary ma
Dennis Lee Bieber wrote:
> On 28 Aug 2006 00:01:06 -0700, "bobrik" <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
>
>
> > for that platform. Do you know of any Python solution for MySQL access
> > that is 100% platform-independent?
> >
> Subprocess module invoking the MyS
Bruno Desthuilliers wrote:
> > but what if the OS with server accessing the site that is on
> > shared area changes?
>
> And what if Python is not installed on it ?-)
>
> Seriously, do you think that hosting companies swap OS very often ?
No, I don't. But I was trying to find the best solution.
Bruno Desthuilliers wrote:
> Boris Dušek wrote:
>
>>Bruno Desthuilliers wrote:
>>
>>>bobrik wrote:
>>>
Hello,
I am using the Python DB API for access to MySQL. But it is not
platform-independent
>>>
>>>It is. You don't have to change your Python code according to the OS or
>>>CPU.
Boris Dušek wrote:
> Bruno Desthuilliers wrote:
>> bobrik wrote:
>>> Hello,
>>>
>>> I am using the Python DB API for access to MySQL. But it is not
>>> platform-independent
>> It is. You don't have to change your Python code according to the OS or
>> CPU.
>>
> What I mean is that wiht platform-inde
>
> Yes, you excactly got my point. The thing is that I can't rely on
> Python 2.5 to be installed soon.
> So the only solution for me at this moment is to use jython and from
> there use Java JDBC API (sorry :-) But it would be great if the Python
> DB API compliant-modules would become parts of
Boris Dušek wrote:
> So the only solution for me at this moment is to use jython and from
> there use Java JDBC API (sorry :-)
so who installed Java for you?
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> I don't think you mean "platform-independent". I suspect you mean
> "batteries included". Prior to the release of Python 2.5, no modules to
> access SQL databases were distributed with core Python. Starting with 2.5,
> sqlite access will be available:
>
> >>> impor
Bruno Desthuilliers wrote:
> bobrik wrote:
> > Hello,
> >
> > I am using the Python DB API for access to MySQL. But it is not
> > platform-independent
>
> It is. You don't have to change your Python code according to the OS or
> CPU.
>
What I mean is that wiht platform-independent access, I should
boris> I am using the Python DB API for access to MySQL. But it is not
boris> platform-independent - I need a module not included in Python by
boris> default - python-mysql, and it uses a compiled binary
boris> _mysql.so. So it is not platform-independent because for each
boris
bobrik wrote:
> Hello,
>
> I am using the Python DB API for access to MySQL. But it is not
> platform-independent
It is. You don't have to change your Python code according to the OS or
CPU.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in
[EMAIL PROTECTED] wrote:
> bobrik wrote:
>> I am using the Python DB API for access to MySQL. But it is not
>> platform-independent - I need a module not included in Python by
>> default - python-mysql, and it uses a compiled binary _mysql.so. So it
>> is not platform-independent because for each w
bobrik wrote:
> I am using the Python DB API for access to MySQL. But it is not
> platform-independent - I need a module not included in Python by
> default - python-mysql, and it uses a compiled binary _mysql.so. So it
> is not platform-independent because for each web-server on different
> platfo
Hello,
I am using the Python DB API for access to MySQL. But it is not
platform-independent - I need a module not included in Python by
default - python-mysql, and it uses a compiled binary _mysql.so. So it
is not platform-independent because for each web-server on different
platform, I would have
17 matches
Mail list logo