473,327 Members | 1,952 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,327 software developers and data experts.

How to I write DBASE files without ODBC

Hi !

I have a text processor code and I want to put the results to standard
files.
HTML, XML, SQLite - they are ok.

But I want to put these datas to DBF too, because when records are many,
does not fit in Excel table (load from HTML). XML and SQLite need some
development to get datas.

I need some memo fields, not only standard field types. The fixed DBASE
tables are simply writeable, but for memo I need some tool.
ODBC is good for this, but I want to create standalone exe, without
installation, and ODBC must be manually set...

Can anybody known about DBASE handler module for Python ?

Thanx for help: dd

Feb 6 '06 #1
1 1934
Durumdara wrote:
Hi !

I have a text processor code and I want to put the results to standard
files.
HTML, XML, SQLite - they are ok.

But I want to put these datas to DBF too, because when records are many,
does not fit in Excel table (load from HTML). XML and SQLite need some
development to get datas.

I need some memo fields, not only standard field types. The fixed DBASE
tables are simply writeable, but for memo I need some tool.
ODBC is good for this, but I want to create standalone exe, without
installation, and ODBC must be manually set...

Can anybody known about DBASE handler module for Python ?

Thanx for help: dd

We use py2exe and Inno Setup to create a setup.exe installation
program. Part of the installation in Inno is to create the ODBC
object in the registry that is necessary for the program to access
ODBC data source. All I did was to observe the changes in the
registry before and after manually setting up a ODBC datasource
and put that code in my Inno script. Works like a charm.

-Larry Bates
Feb 7 '06 #2

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

Similar topics

9
by: Stan Cook | last post by:
Does anyone know how or what I can use to open, read and extract data from a dbase database? I haven't found anything of much use with accompanying documentation.
10
by: level8 | last post by:
I would like to see a Clipper/dbase DBF file as a table in SQL Server 7.0. How can I SELECT rows from DBF file? Should I use OLE DB Provider or ODBC, and how?
3
by: Kshitij Rajhans | last post by:
HI, How to connect to the dBase database?? One option is to create a DSN and use it.But I want to do it in some other way like just passing a connection string or like that. Thanks in...
4
by: Stan Cook | last post by:
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...
2
by: chiefsitebuilder | last post by:
I have a question about saving an MS Access program to CD and verifyng that the program works after being saved. Here is my situation, I have a person who developed an application for me using...
4
by: Robert Bravery | last post by:
HI all, Can someone show me or point me to a place where I can find out how to update dbase(dbf) tables. Thanks RObert
6
by: Aleyna[] | last post by:
Hi all, I wanted to connect an old DBASE file (I don't know the exact version) but I could not make it at all. I couldn't find a way to execute sql statements on db file using c#. The...
2
by: bcbrock | last post by:
I am trying to figure out how to query some data out of a dbase IV (.dbf) file sitting on a remote server from my MySQL/PHP/Web Server. Both servers are Windows Server 2003 SP2. My...
10
by: Johny | last post by:
Is there a module for reading/modifing db files from Python? Thanks for help B.
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...
0
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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.