473,320 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Database read and write

Ok . I know I'm talking ancient history, but some of us are
stuck working with them. Is there anything for python which
will ope, read, and write to a Dbase 3 or 4 file? I really
need your assistance on this one.

Regards,

Stan
Jun 15 '06 #1
4 1548
Stan Cook wrote:
will ope, read, and write to a Dbase 3 or 4 file?


I know I have one in VB6 that I've been meaning to translate to Python
but...
(do not have time/am lazy/does not work with indexes)

did a google search for you though

http://aspn.activestate.com/ASPN/Coo.../Recipe/362715
http://www.garshol.priv.no/download/...n/dbfreader.py

Jun 15 '06 #2
ftc
Stan Cook a écrit :
Ok . I know I'm talking ancient history, but some of us are stuck
working with them. Is there anything for python which will ope, read,
and write to a Dbase 3 or 4 file? I really need your assistance on this
one.


If you work on Windows, there are dbf odbc drivers installed so you can
access your dbf files through ODBC driver I think.
Jun 15 '06 #3
ftc wrote:
Stan Cook a écrit :
Ok . I know I'm talking ancient history, but some of us are stuck
working with them. Is there anything for python which will ope, read,
and write to a Dbase 3 or 4 file? I really need your assistance on
this one.


If you work on Windows, there are dbf odbc drivers installed so you can
access your dbf files through ODBC driver I think.

I'm working with Linux.
Jun 15 '06 #4
Stan Cook wrote:
Ok . I know I'm talking ancient history, but some of us are stuck
working with them. Is there anything for python which will ope, read,
and write to a Dbase 3 or 4 file? I really need your assistance on this
one.

Regards,

Stan


Might want to check out:
http://aspn.activestate.com/ASPN/Coo.../Recipe/362715

-Larry Bates
Jun 15 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Praxis Happenstance | last post by:
Check me out: http://www.c-sharpcorner.com/Code/2004/July/MultithreadedXmlDoc.asp Multithreaded XML Document for Read/Write Access by John Bailo
18
by: jas | last post by:
Hi, I would like to start a new process and be able to read/write from/to it. I have tried things like... import subprocess as sp p = sp.Popen("cmd.exe", stdout=sp.PIPE)...
10
by: Tibby | last post by:
I need to read/write not only text files, but binary as well. It seems like on binary files, it doesn't right the last 10% of the file. -- Thanks --- Outgoing mail is certified Virus...
0
by: chrisguest | last post by:
I am looking into a replication strategies to improve performance and redundancy for a MySQL 4.1 database running on Linux/Apache2/mod_python. I am curious as to the standard way of obtaining a...
2
by: Let_Me_Be | last post by:
Hi, I'm curently developing an aplication which gets called many times, and shoudl return a new state each time, I have implemented load/save state to work with istream/ostream. The problem is...
0
by: sureshkmsc | last post by:
I don't know. how to set the read/write permissions in database how to set the read/write permission.
0
by: martinmercy2001 | last post by:
Could any body help me with creating a ring buffer class using a string. use memory circular buffer not an IO buffer. just read, write and seek method. Read method should take anumber and return the...
6
by: Ryan Liu | last post by:
Hi, I have some basic question about NetworkStream, can someone explain to me? Thanks a lot in advance! TcpClient has a GetStream() method return a NetworkStream for read and write. I...
0
by: Nishant Gaurav | last post by:
Hi, I want to know the best way to read bulk data (approx 1 lakh records) from database and write it into a text file, through c/c++/pro*c. Thanks Nishant Gaurav
5
by: ncsthbell | last post by:
I am working on a new database in MS Access 2007 and I want to be able to test a user Id when entered and determine if the user has read only access or read/write access. I will maintain a user...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.