473,769 Members | 2,376 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1564
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
2155
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
4893
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) p.stdin.write("hostname\n") however, it doesn't seem to work. I think the cmd.exe is catching it.
10
2545
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 Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003
0
1296
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 Read/Write Ratio. What patterns of usage suit One-Way or Two-Way replication? In my situation I have a database that intermittent bursts of inserts through the day, a lot of batched deletes/inserts/updates over night
2
2412
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 the aplication is runned many times - paralel. Is it possible to have a protected file (read-write exclusive/paralel reads), without installing a database engine? Idealy this should work under both windows and linux, but linux will be sucifient.
0
3105
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
3867
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 string. write method should take a string. seek should take a number and return nuthing. use three member variables a buffer itself as a string, read_position, write_position. use >>, << methods. I have tried this code but i need full...
6
7281
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 remember there are 2 streams in Java, one for read, one for write. If I just use synchronous Read() and Write() method:
0
1557
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
1718
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 table with these indicators. Is there some way to set a 'database' option or something similiar that would apply to every form/datasheet in the database and set them to read only or does it have to be done for each form? Any suggestions would be a...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10043
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9990
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.