"Gary Furash" wrote in message
news:135759bf-0823-480c-9631-106d6cf1a...@googlegroups.com...
I need to be able to access Oracle from both Windows and *nix, however, it
seems kind of tortuous getting everything working each time on each server.
With Java I can just drop (usually the same) JDBC
I need to be able to access Oracle from both Windows and *nix, however, it
seems kind of tortuous getting everything working each time on each server.
With Java I can just drop (usually the same) JDBC library files in a location
and everything works. I'm sure there's some easier way of doing thi
On 06/22/2011 03:02 AM, Roy Smith wrote:
> In article <4e012e8d$0$23682$426a3...@news.free.fr>,
> News123 wrote:
>
>
> I don't see any reason you couldn't use the Model layer by itself, if
> you want to. It pretty much stands on its own.
Thanks a lot for confirming,
I have now my small exam
On 06/22/2011 03:04 AM, Ian Kelly wrote:
>>
>> So I need at least a little more to make my script work.
>
> There's a bit of magic in the way Django finds things, and I think
> you'll still need to keep the basic structure of a Django project --
> models should be in a "models.py" file located in
It seems I found a solution (refer to end of this tessage).
Not sure though if there are any drawbacks or if this method of working
could cause any other issues.
On 06/22/2011 02:42 AM, News123 wrote:
> On 06/22/2011 01:51 AM, News123 wrote:
>> Hi,
>>
>> I have a small application running on a
In article <4e012e8d$0$23682$426a3...@news.free.fr>,
News123 wrote:
> Hi,
>
> I have a small application running on a host without web server and
> without any need for django except its ORM accessing data bases without
> explicitely writing sql queries.)
You would do much better to ask this q
On Tue, Jun 21, 2011 at 6:42 PM, News123 wrote:
> ###
> If running myapp.py I get following output:
>
> yes this line is executed
> Traceback (most recent call last):
> File "./myapp.py", line 11, in
> class Mini(models.Model):
> File
> "/opt/my_py
On 06/22/2011 01:51 AM, News123 wrote:
> Hi,
>
> I have a small application running on a host without web server and
> without any need for django except its ORM accessing data bases without
> explicitely writing sql queries.)
>
> I assume there's many libraries (SQL Alchemy or others), which cou
Hi,
I have a small application running on a host without web server and
without any need for django except its ORM accessing data bases without
explicitely writing sql queries.)
I assume there's many libraries (SQL Alchemy or others), which could do
this job. and which migh have less overhead tha
kj <[EMAIL PROTECTED]> writes:
> The word on the street is to use something like SQLAlchemy for
> database access in Python, but my experience in the past with
> packages that perform automated SQL generation has been awful, so I
> always return to lighter-weight solutions that allow me to write m
In <[EMAIL PROTECTED]> Tim Henderson <[EMAIL PROTECTED]> writes:
>I believe there are a couple of options but pyscopg, and PyGreSQL seem
>to be popular.
Great. Thanks!
kynn
--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, sho
On 29 Jul, 17:20, kj <[EMAIL PROTECTED]> wrote:
>
> So what's the
> standard Python way to send SQL directly to a Postgres database
> and get back results?
Take a look at this page:
http://wiki.python.org/moin/DatabaseInterfaces
I've used psyco
On Jul 29, 11:20 am, kj <[EMAIL PROTECTED]> wrote:
> Python noob here.
>
> I want to write a script that creates and populates a simple Postgres
> database.
>
> The word on the street is to use something like SQLAlchemy for
> database access in Python, but my experience in the past with
> packages
Python noob here.
I want to write a script that creates and populates a simple Postgres
database.
The word on the street is to use something like SQLAlchemy for
database access in Python, but my experience in the past with
packages that perform automated SQL generation has been awful, so
I alw
king kikapu wrote:
> On Dec 29, 12:12 am, johnf <[EMAIL PROTECTED]> wrote:
> > king kikapu wrote:
> > > Hi to all,
> >
> > > is there a way to use an RDBMS (in my case, SQL Server) from Python by
> > > using some built-in module of the language (v. 2.5) and through ODBC ??
> > > I saw some samples
Hi Johnf,
are you referring to this ?
http://www.freetds.org/
And how i can get psmssql.py so i can get a shot on it, is it included
in FreeTDS ??
On Dec 29, 12:12 am, johnf <[EMAIL PROTECTED]> wrote:
> king kikapu wrote:
> > Hi to all,
>
> > is there a way to use an RDBMS (in my case, SQL Se
king kikapu wrote:
> Hi to all,
>
> is there a way to use an RDBMS (in my case, SQL Server) from Python by
> using some built-in module of the language (v. 2.5) and through ODBC ??
> I saw some samples that use statements like "import dbi" or "import
> odbc" but neither modules (dbi, odbc) are pr
On 12/28/06, Martin P. Hellwig <[EMAIL PROTECTED]> wrote:
> king kikapu wrote:
> > Hey Martin,
> >
> > thanks for the fast reply!
> >
> > I have already seen that link and i just downloaded the pyodbc module
> > but isn't Python already containing a "built-in" odbc module so to
> > allow for db com
king kikapu írta:
> Hey Martin,
>
> thanks for the fast reply!
>
> I have already seen that link and i just downloaded the pyodbc module
> but isn't Python already containing a "built-in" odbc module so to
> allow for db communication ??
>
There is no built-in ODBC module. We all know that Pytho
king kikapu wrote:
> Hey Martin,
>
> thanks for the fast reply!
>
> I have already seen that link and i just downloaded the pyodbc module
> but isn't Python already containing a "built-in" odbc module so to
> allow for db communication ??
>
Not that I'm aware of, but it is possible to do odbc w
Hey Martin,
thanks for the fast reply!
I have already seen that link and i just downloaded the pyodbc module
but isn't Python already containing a "built-in" odbc module so to
allow for db communication ??
On Dec 28, 6:06 pm, "Martin P. Hellwig" <[EMAIL PROTECTED]> wrote:
> king kikapu wrote:
>
king kikapu wrote:
> Hi to all,
>
> is there a way to use an RDBMS (in my case, SQL Server) from Python by
> using some built-in module of the language (v. 2.5) and through ODBC ??
> I saw some samples that use statements like "import dbi" or "import
> odbc" but neither modules (dbi, odbc) are pre
Hi to all,
is there a way to use an RDBMS (in my case, SQL Server) from Python by
using some built-in module of the language (v. 2.5) and through ODBC ??
I saw some samples that use statements like "import dbi" or "import
odbc" but neither modules (dbi, odbc) are present on my system...
Any hint(
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
40 matches
Mail list logo