On 11/10/2016 06:10 PM, Dennis Lee Bieber wrote:
> {I could swear I'd included an example of a parameterized query in my
> response... I didn't want to go into the details of "SQL injection attack"
> as, based on the rest of the OPs post, it would have needed a large
> explanation... And the
On 11/10/2016 11:32 AM, Chris Angelico wrote:
> The easiest way is to use a parameterized query:
>
> cur.execute("insert into beacon VALUES(null, %s)", (beacon,))
>
> I don't understand why so many people conflate parameterized with
> prepared. "Prepared statements" have a two-step execution.
>
On Fri, Nov 11, 2016 at 2:36 AM, Michael Torrie wrote:
> On 11/10/2016 06:15 AM, Dennis Lee Bieber wrote:
>> On Wed, 9 Nov 2016 21:05:50 -0800 (PST), sudeeratechn...@gmail.com
>> declaimed the following:
>>
>>>
>>> sql = "insert into beacon VALUES(null, '%s')" % \
>>> (beacon)
On 11/10/2016 06:15 AM, Dennis Lee Bieber wrote:
> On Wed, 9 Nov 2016 21:05:50 -0800 (PST), sudeeratechn...@gmail.com
> declaimed the following:
>
>>
>> sql = "insert into beacon VALUES(null, '%s')" % \
>> (beacon)
>>
> DON'T DO THAT...
Wouldn't hurt to include a brief why on this, and the
when this files run gives corresponding output values as;
# test BLE Scanning software
# jcs 6/8/2014
import MySQLdb as my
import blescan
import sys
import bluetooth._bluetooth as bluez
dev_id = 0
db = my.connect(host="localhost",
user="root",
passwd="root",
db="test"
)
cursor =
58:02 AM UTC-8, Chris Angelico wrote:
>> >> On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy <ict...@gmail.com> wrote:
>> >> > Pl explain me how to connect the MYSQL database to Python program?
>> >>
>> >> You start by looking for a module that lets
<ict...@gmail.com> wrote:
> >> > Pl explain me how to connect the MYSQL database to Python program?
> >>
> >> You start by looking for a module that lets you do that. You can use
> >> your favourite web search engine, or go directly to PyPI.
> >
t 1:36 PM, ICT Ezy <ict...@gmail.com> wrote:
> >> > On Wednesday, December 9, 2015 at 9:58:02 AM UTC-8, Chris Angelico wrote:
> >> >> On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy <ict...@gmail.com> wrote:
> >> >> > Pl explain me how to connect the
On Wednesday, December 9, 2015 at 9:58:02 AM UTC-8, Chris Angelico wrote:
> On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy <ict...@gmail.com> wrote:
> > Pl explain me how to connect the MYSQL database to Python program?
>
> You start by looking for a module that lets you do tha
On Wednesday, December 9, 2015 at 1:45:26 PM UTC-8, Mark Lawrence wrote:
> On 09/12/2015 17:51, ICT Ezy wrote:
> > Pl explain me how to connect the MYSQL database to Python program?
> >
>
> Use a search engine. Then run up an editor, write some code, run said
> code. I
On Friday, December 11, 2015 at 10:36:33 AM UTC-8, ICT Ezy wrote:
> On Wednesday, December 9, 2015 at 9:58:02 AM UTC-8, Chris Angelico wrote:
> > On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy <ict...@gmail.com> wrote:
> > > Pl explain me how to connect the MYSQL database to Pyth
On Wednesday, December 9, 2015 at 1:45:26 PM UTC-8, Mark Lawrence wrote:
> On 09/12/2015 17:51, ICT Ezy wrote:
> > Pl explain me how to connect the MYSQL database to Python program?
> >
>
> Use a search engine. Then run up an editor, write some code, run said
> code. I
On Fri, Dec 11, 2015 at 1:36 PM, ICT Ezy <ict...@gmail.com> wrote:
> On Wednesday, December 9, 2015 at 9:58:02 AM UTC-8, Chris Angelico wrote:
>> On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy <ict...@gmail.com> wrote:
>> > Pl explain me how to connect the MYSQL databas
<ict...@gmail.com> wrote:
> >> > Pl explain me how to connect the MYSQL database to Python program?
> >>
> >> You start by looking for a module that lets you do that. You can use
> >> your favourite web search engine, or go directly to PyPI.
> >
Pl explain me how to connect the MYSQL database to Python program?
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Dec 10, 2015 at 4:51 AM, ICT Ezy <ict...@gmail.com> wrote:
> Pl explain me how to connect the MYSQL database to Python program?
You start by looking for a module that lets you do that. You can use
your favourite web search engine, or go directly to PyPI.
Then you learn h
On 09/12/2015 17:51, ICT Ezy wrote:
Pl explain me how to connect the MYSQL database to Python program?
Use a search engine. Then run up an editor, write some code, run said
code. If you then have problems state your OS, Python version and
provide us with the full traceback
I have server A and Server B. Server B is a hadoop cluster which has hive
database and etc..
Server A has python 2.7. I would like to write a hive query using python on
Server A to pull data from Server B. Server A and B has connectivity and no
issues with network etc..
I have installed all
On Monday, 2 June 2014 09:38:44 UTC+5:30, sukesh.b...@thomsonreuters.com wrote:
Hi,
Using python(2.7.2) I am not able to connect to Vector Wise database. Can you
suggest me how I can connect to it. If you don't mind step by step
L.
Regards,
Sukesh.
--
Hi,
Using python(2.7.2) I am not able to connect to Vector Wise database. Can you
suggest me how I can connect to it. If you don't mind step by step :(.
Regards,
Sukesh.
--
https://mail.python.org/mailman/listinfo/python-list
Am 28.11.2013 02:32, schrieb Mark Lawrence:
On 28/11/2013 01:05, Dennis Lee Bieber wrote:
Not quite as friendly, and sort of a moving target: Look at Dabo [the
creators' goal was to create a Python equivalent of Visual FoxPro].
At http://www.dabodev.com/ and mailing list at
I wish to develop a database application with a lot of specific
functionnalities dealing with sound files.
I have developped an Access prototype and run into a first problem :
Access is not a database, it's a data shredder. And for the GUI part;
it only works on that pathologic
Am 28.11.13 07:51, schrieb Ben Finney:
Chris Angelico ros...@gmail.com writes:
On Thu, Nov 28, 2013 at 4:55 PM, jm.almeras jm.alme...@nospam.net wrote:
2) dimensionable and editable arrays of columns and rows like when
you open a table under Access.
I'm not aware of a widget in Tkinter
Hello !
I wish to develop a database application with a lot of specific
functionnalities dealing with sound files.
I have developped an Access prototype and run into a first problem : it
is not so easy to find code working with VBA to extract the duration of
a sound file. I have found many
On Thu, Nov 28, 2013 at 8:35 AM, jm.almeras jm.alme...@nospam.net wrote:
Access, and more generally VB, is excellent for building the GUI (forms,
widgets etc.). Python is a great for coding, and it comes with high quality
libraries... Does anyone have any suggestions as to how I can build my
On 28/11/2013 01:05, Dennis Lee Bieber wrote:
Not quite as friendly, and sort of a moving target: Look at Dabo [the
creators' goal was to create a Python equivalent of Visual FoxPro].
At http://www.dabodev.com/ and mailing list at gmane.comp.python.dabo.users.
--
Python is the second
On Thursday, November 28, 2013 3:05:13 AM UTC+5:30, jm.almeras wrote:
Hello !
I wish to develop a database application with a lot of specific
functionnalities dealing with sound files.
I have developped an Access prototype and run into a first problem : it
is not so easy to find code
On Thu, Nov 28, 2013 at 4:55 PM, jm.almeras jm.alme...@nospam.net wrote:
Thank you ChrisA
These are good ideas. But looking precisely at widgets I will need, is one
of the GUI builders capable of offering :
1) the use of tabs in a form (that excludes Tkinter I believe)
2) dimensionable and
Chris Angelico ros...@gmail.com writes:
On Thu, Nov 28, 2013 at 4:55 PM, jm.almeras jm.alme...@nospam.net wrote:
These are good ideas. But looking precisely at widgets I will need,
is one of the GUI builders capable of offering :
The term “GUI builder” to me implies an interactive tool for
On 8/28/11 10:52 PM, Chris Angelico wrote:
* DNS record changes required a support ticket (this was shared web
hosting, so I didn't have control over the BIND files - that's what
they said, anyway)
Ouch: I never let a webhost near my domain names. I was burned somewhere
around that a long time
Personally, I'm a major fan of Webfaction -- from price to plans to what's
supported to actual effectiveness of their tech support.
+1
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
with a SQL
database using python modules from Python 2.4 or earlier?
Do you know of a python 2.4 module that will let me interact with an
SQL database(can be MySQL, SQLite, etc.)?
--
http://mail.python.org/mailman/listinfo/python-list
On 8/28/11 9:49 PM, Sascha wrote:
My Problem: the webhost runs Python 2.4 so I cannot communicate
with(query or modify) my SQLite3 database. The webhost will not allow
me to install my own version of python or upload modules unless I
upgrade to VPS.
Get a new webhost. Seriously. This is a
On Mon, Aug 29, 2011 at 3:09 PM, Stephen Hansen
me+list/pyt...@ixokai.io wrote:
Get a new webhost. ...
But I don't know if they have a warehouse in Australia, if their latency
with any of their various data centers is suitable for you. Maybe, maybe
not -- but there /has/ to be a better option
On 8/28/11 10:23 PM, Chris Angelico wrote:
On Mon, Aug 29, 2011 at 3:09 PM, Stephen Hansen
me+list/pyt...@ixokai.io wrote:
Get a new webhost. ...
But I don't know if they have a warehouse in Australia, if their latency
with any of their various data centers is suitable for you. Maybe, maybe
On Mon, Aug 29, 2011 at 3:39 PM, Stephen Hansen
me+list/pyt...@ixokai.io wrote:
Just don't get too tied to a certain host until you feel them out.
Sending them emails with detailed questions before you sign up is a good
thing, for example.
That helps a lot, but the problems I had with my most
Hi,
I need to backup a postgresql database from python withour using pg_dump!
Is any way of doing that?
Thank you in advance for your help.
Zorze
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, 4 Dec 2010 19:12:08 +
starglider develop starglider@gmail.com wrote:
I need to backup a postgresql database from python withour using pg_dump!
Is any way of doing that?
Probably. I guess the first question is why can't you use pg_dump?
That might give us a clue
On Dec 4, 2010, at 2:32 PM, D'Arcy J.M. Cain wrote:
On Sat, 4 Dec 2010 19:12:08 +
starglider develop starglider@gmail.com wrote:
I need to backup a postgresql database from python withour using pg_dump!
Is any way of doing that?
Probably. I guess the first question is why can't
Greetings. I'm looking for a distributed database. (I'm not sure if
distributed is the correct terminology though).
My problem is this; I have a client application which once in a while
needs to sync with a central database. (And of course the client
-databases might be updated locally etc).
Are
http://www.google.com/search?q=python+distributed+database
If you have already tried this, then you should say so, so that we don't
waste our time, and yours, going over ground you have already covered.
--
Steven
--
http://mail.python.org/mailman/listinfo/python-list
Googling has shown me various ways of connecting to a non-password-
protected Access database, but I was wondering if someone could point
to code illustrating how to use an Access db that's password-
protected. I haven't been able to find anything on this.
Thanks,
Ken
--
zxo102 zxo...@gmail.com wrote in message
news:2560a6e0-c103-46d2-aa5a-8604de4d1...@b38g2000prf.googlegroups.com...
I have a list in a dictionary and want to insert it into the html
file. I test it with following scripts of CASE 1, CASE 2 and CASE 3. I
can see 中文 in CASE 1 but that is not
On 12月29日, 下午5时06分, Mark Tolonen metolone+gm...@gmail.com wrote:
zxo102 zxo...@gmail.com wrote in message
news:2560a6e0-c103-46d2-aa5a-8604de4d1...@b38g2000prf.googlegroups.com...
I have a list in a dictionary and want to insert it into the html
file. I test it with following scripts of
zxo102 zxo...@gmail.com wrote in message
news:7e38e76a-d5ee-41d9-9ed5-73a2e2993...@w1g2000prm.googlegroups.com...
On 12月29日, 下午5时06分, Mark Tolonen metolone+gm...@gmail.com wrote:
zxo102 zxo...@gmail.com wrote in message
On 12月27日, 下午4时08分, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Sat, 27 Dec 2008 03:03:24 -0200,zxo102zxo...@gmail.com escribió:
On 12月26日, 下午3时16分, Mark Tolonen metolone+gm...@gmail.com
wrote:
I was able to display 中文 successfully with this code:
f=open('test.html','wt')
En Sat, 27 Dec 2008 03:03:24 -0200, zxo102 zxo...@gmail.com escribió:
On 12月26日, 下午3时16分, Mark Tolonen metolone+gm...@gmail.com
wrote:
I was able to display 中文 successfully with this code:
f=open('test.html','wt')
f.write('''htmlhead
META HTTP-EQUIV=Content-Type
On 12月26日, 下午3时16分, Mark Tolonen metolone+gm...@gmail.com wrote:
zxo102 zxo...@gmail.com wrote in message
news:979fdf6d-0500-47ba-87fd-0f0361ca3...@p2g2000prf.googlegroups.com...
On 12月26日, 上午4时58分, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Thu, 25 Dec 2008 07:27:03 -0200,
On 12月25日, 下午3时35分, Chris Rebert c...@rebertia.com wrote:
On Wed, Dec 24, 2008 at 11:29 PM, zxo102 zxo...@gmail.com wrote:
Hi,
I retrieve some info in Chinese from postgresql and assign it to a
variable 'info' defined in javascript of a html page:
var info =
-On [20081225 08:30], zxo102 (zxo...@gmail.com) wrote:
Anybody knows how to solve this problem?
You are assigning/pushing out Python byte sequences, not Unicode. Look at
u'' string variables, x.encode() and x.decode() to help you.
It's widely documented on the Internet, a quick Python Unicode
En Thu, 25 Dec 2008 07:27:03 -0200, zxo102 zxo...@gmail.com escribió:
On 12月25日, 下午3时35分, Chris Rebert c...@rebertia.com wrote:
On Wed, Dec 24, 2008 at 11:29 PM, zxo102 zxo...@gmail.com wrote:
Hi,
I retrieve some info in Chinese from postgresql and assign it to a
variable 'info' defined
On 12月26日, 上午4时58分, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Thu, 25 Dec 2008 07:27:03 -0200, zxo102 zxo...@gmail.com escribió:
On 12月25日, 下午3时35分, Chris Rebert c...@rebertia.com wrote:
On Wed, Dec 24, 2008 at 11:29 PM, zxo102 zxo...@gmail.com wrote:
Hi,
I retrieve some
zxo102 zxo...@gmail.com wrote in message
news:979fdf6d-0500-47ba-87fd-0f0361ca3...@p2g2000prf.googlegroups.com...
On 12月26日, 上午4时58分, Gabriel Genellina gagsl-...@yahoo.com.ar
wrote:
En Thu, 25 Dec 2008 07:27:03 -0200, zxo102 zxo...@gmail.com escribió:
On 12月25日, 下午3时35分, Chris Rebert
Hi,
I retrieve some info in Chinese from postgresql and assign it to a
variable 'info' defined in javascript of a html page:
var info = ['\xd6\xd0\xce\xc4','\xd6\xd0\xce\xc4','\xd6\xd0\xce
\xc4']
But I want it to be
var info = ['中文','中文','中文']
since in html pages (via javascript), the
On Wed, Dec 24, 2008 at 11:29 PM, zxo102 zxo...@gmail.com wrote:
Hi,
I retrieve some info in Chinese from postgresql and assign it to a
variable 'info' defined in javascript of a html page:
var info = ['\xd6\xd0\xce\xc4','\xd6\xd0\xce\xc4','\xd6\xd0\xce
\xc4']
But I want it to be
Abandoned a écrit :
Hi.
I want to copy my database but python give me error when i use this
command.
cursor.execute(pg_dump mydata old.dump)
What is the problem ?
Could it have to do with the fact that cursor.execute expects a valid
SQL query - not a bash command line ?
And how can i
On Nov 2, 2007, at 11:49 AM, Diez B. Roggisch wrote:
Abandoned wrote:
On Nov 2, 4:19 pm, Paul McNett [EMAIL PROTECTED] wrote:
Abandoned wrote:
Hi.
I want to copy my database but python give me error when i use this
command.
cursor.execute(pg_dump mydata old.dump)
What is the problem
Abandoned == Abandoned [EMAIL PROTECTED] writes:
Abandoned Yes i understand thank you. Now i find that maybe help the
Abandoned other users.
Abandoned import os
Abandoned os.system(su postgres)
Abandoned ...
I get the distinct impression that you're trying to replace simple shell
scripting
On Nov 2, 4:19 pm, Paul McNett [EMAIL PROTECTED] wrote:
Abandoned wrote:
Hi.
I want to copy my database but python give me error when i use this
command.
cursor.execute(pg_dump mydata old.dump)
What is the problem ? And how can i copy the database with python ?
You are just going
On Nov 2, 4:11 pm, Martin Sand Christensen [EMAIL PROTECTED] wrote:
Abandoned == Abandoned [EMAIL PROTECTED] writes:
Abandoned I want to copy my database but python give me error when i
Abandoned use this command. cursor.execute(pg_dump mydata old.dump)
Abandoned What is the problem
Abandoned wrote:
Hi.
I want to copy my database but python give me error when i use this
command.
cursor.execute(pg_dump mydata old.dump)
What is the problem ? And how can i copy the database with python ?
You are just going to have to give us more to go on. Please post the
entire
Abandoned == Abandoned [EMAIL PROTECTED] writes:
Abandoned I want to copy my database but python give me error when i
Abandoned use this command. cursor.execute(pg_dump mydata old.dump)
Abandoned What is the problem ?
cursor.execute() is for executing SQL commands, and this is not an SQL
On Fri, 2007-11-02 at 06:51 -0700, Abandoned wrote:
Hi.
I want to copy my database but python give me error when i use this
command.
cursor.execute(pg_dump mydata old.dump)
cursor.execute executes SQL queries. pg_dump is not an SQL query, it is
an operating system command. To execute OS
Hi.
I want to copy my database but python give me error when i use this
command.
cursor.execute(pg_dump mydata old.dump)
What is the problem ? And how can i copy the database with python ?
Note: The database's size is 200 GB
--
http://mail.python.org/mailman/listinfo/python-list
Abandoned wrote:
On Nov 2, 4:19 pm, Paul McNett [EMAIL PROTECTED] wrote:
Abandoned wrote:
Hi.
I want to copy my database but python give me error when i use this
command.
cursor.execute(pg_dump mydata old.dump)
What is the problem ? And how can i copy the database with python ?
You
GinTon wrote:
EyeDB is a free ODBMS based on the ODMG 3 specification with
programming interfaces for C++ and Java. It is very powerfull, mature,
safe and stable. In fact, it was developed in 1992 for the Genome View
project althought rewritten in 1994, and has been used in a lot of
I received the following answer of Eric Viara, EyeDB.org:
We planned to introduce soon a plugin mechanism to facilitate the way
to write language bindings such as PHP5, Python, PERL and so on. But we
do not know yet if the Python binding will be written by the core
staff.
We do not plan to
EyeDB is a free ODBMS based on the ODMG 3 specification with
programming interfaces for C++ and Java. It is very powerfull, mature,
safe and stable. In fact, it was developed in 1992 for the Genome View
project althought rewritten in 1994, and has been used in a lot of
bioinformatics projects
How do I open a mysql database with python. I nead a module that is
compatible with windows, and will be on any regular server I singup
with. if you could give me some documentation on the module that would
be good also.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
http://sourceforge.net/projects/mysql-python
--
http://mail.python.org/mailman/listinfo/python-list
Or mxODBC
http://www.egenix.com/files/python/mxODBC.html
rpd
--
http://mail.python.org/mailman/listinfo/python-list
Karthish [EMAIL PROTECTED] (K) wrote:
K I can't figure out how to authenticate and then load a page, since the
K page requires cookies for authentication.
http://www.voidspace.org.uk/python/articles/cookielib.shtml
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/302930
--
Piet van
I'm writing a script to look through DNA sequences in a database and
select sequences I require. So far, my code looks like this for
authentication:
import os
import Bio.Clustalw
from Bio.Alphabet import IUPAC
import pdb
import sys
import os
import urllib
import urllib2
import urllib
userid =
I'm writing a script to look through DNA sequences in a database and
select sequences I require. So far, my code looks like this for
authentication:
import os
import Bio.Clustalw
from Bio.Alphabet import IUPAC
import pdb
import sys
import os
import urllib
import urllib2
import urllib
userid =
Steve Holden wrote:
I don't know about the whole picture, but I know form evidence on
this
group that there are PostgreSQL driver modules (the name psycopg
comes
to mind, but this may be false memory) that appear to take diabolical
liberties with DBAPI-2.0, whereas my experience with MySQLdb
Mage wrote:
Andy Dustman wrote:
Transactions available since 3.23.17 (June 2000)
Transactions only supported on slow database types like innodb.
If you ever tried it you cannot say that mysql supports transactions.
No.
Last time when I tried mysql 4.x did explicit commit if you simply
On Tuesday 12 April 2005 04:54 pm, Pierre-Frédéric Caillaud wrote:
Speaking of the manual, the mysql manual is quite... well... i don't
quite find the word, but it has many sentences which sound like PR stuff.
Like, we don't do this like you or anyone would expect, but there is a
Terry Hancock wrote:
[...]
That's interesting. Most sources I've read seemed to suggest that postgresql
is slower than MySQL, at least for modest size tables. There must, I suppose,
be some turnover point on the size of the database? Or are you arguing that
postgresql is now faster than MySQL
postgresql
is slower than MySQL, at least for modest size tables. There must, I
When not using transactions, MySQL will blow away postgres in
INSERT/UPDATE speed until the concurrency gets up a bit and the readers
block writers strategy used by MyISAM starts to show its weaknesses.
This is
Andy Dustman wrote:
Transactions available since 3.23.17 (June 2000)
Transactions only supported on slow database types like innodb.
If you ever tried it you cannot say that mysql supports transactions. No.
Last time when I tried mysql 4.x did explicit commit if you simply
disconnected
Pierre-Frédéric Caillaud wrote:
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
MySQL sucks for anything but very very basic stuff as it supports
no transactions, foreign keys, procedures, triggers, concurrency, etc.
In truth, although postgres has more features, MySQL is probably
better for someone who is just starting to use databases to develop
for: the chances are higher that anyone using their code will have
MySQL than Postgres, and they aren't going to need the features
that Postgresql has that
Bottomline - mysql has a lot of marketshare, is improving, and I'm sure
that it'll eventually be a credible product. But right now it's has a
wide range of inexcusable problems.
I so totally agree with you.
I find that mysql promotes bad coding practices by ignoring errors and
substituting
Buck Nuggets wrote:
1. mysql doesn't support transactions - one of its io layers
(innodb)
does. If you're hoping to get your application hosted you will find
that most mysql installations don't support innodb. And due to the
bugs in mysql, when you attempt to create a transaction-safe
It's not a bug if you didn't RTFM.
Maybe it's not a bug if it's the only DBMS you've ever used and you
actually believe that overriding explicit critical declaratives is a
valid design choice. But it is a bug if it's still only partially
supported in a beta version that nobody is yet hosting.
It's not a bug if you didn't RTFM.
I did read it in much detail !
In fact I spent a lot of time trying to make understand how it could do a
simple 4-table join to display also purchased products on an online store.
The damn query took 0.5 seconds to execute no matter how I twisted it in
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
You will need to install the Python module MySQLdb. --
http://sourceforge.net/projects/mysql-python
There should be plenty of examples online too for using MySQLdb with
Python.
If you
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
MySQL sucks for anything but very very basic stuff as it supports no
transactions, foreign keys, procedures, triggers, concurrency, etc.
Postgresql is a lot better, free, and the
Pierre-Frédéric Caillaud wrote:
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
MySQL sucks for anything but very very basic stuff as it supports
no transactions, foreign keys, procedures, triggers, concurrency, etc.
[EMAIL PROTECTED] wrote:
I need to build table which need searching data which needs more
power then dictionary or list in python, can anyone help me what
kind of database suitable for python light and easy to learn. Is
mySQL a nice start with python ?
It depends... mySQL is fine for more
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello I need to build table which need searching data which needs more
power then dictionary or list in python, can anyone help me what kind
of database suitable for python light and easy to learn. Is mySQL a
nice start
[EMAIL PROTECTED] [EMAIL PROTECTED] said :
Hello I need to build table which need searching data which needs more
power then dictionary or list in python, can anyone help me what kind
of database suitable for python light and easy to learn. Is mySQL a
nice start with python
If you want Simple you can use the following piece of code.
It won't work if you have a million records, but it's a nice intelligent
flatfile storage with a select where + order by and limit emulator.
# #
class ListMgr( object ):
On Monday 11 April 2005 11:01, Pierre-Frédéric Caillaud wrote:
psycopg ... has a dictfetchall() method which is worth its weight in
donuts !
It's very simple to write one for MySQLdb:
def dictfetchall(cursor):
'''Takes a MySQLdb cursor and returns the rows as dictionaries.'''
Pierre-Frédéric Caillaud wrote:
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
MySQL sucks for anything but very very basic stuff as it supports no
transactions,
Transactions available since 3.23.17 (June 2000)
Ola Natvig wrote:
MySQL has support for transactions and foreign keys in it's InnoDB
engine. In 5.0 it supports views procedures. Some people seems to hate
MySQL :-) but a whole lot of other people like it a lot.
There are other problems, such as failing silently in many
circumstances, as
Pierre-Frédéric Caillaud wrote:
MySQL is an excellent option is very well documented. It is also a
defacto standard for OpenSource databases.
MySQL sucks for anything but very very basic stuff as it supports
no transactions, foreign keys, procedures, triggers, concurrency, etc.
Hello I need to build table which need searching data which needs more
power then dictionary or list in python, can anyone help me what kind
of database suitable for python light and easy to learn. Is mySQL a
nice start with python ?
Sincerely Yours,
Pujo
--
http://mail.python.org/mailman
[EMAIL PROTECTED] wrote:
I need to build table which need searching data which needs more
power then dictionary or list in python, can anyone help me what
kind of database suitable for python light and easy to learn. Is
mySQL a nice start with python ?
You could try SQLite for Python: http
99 matches
Mail list logo