'Read 4DD database with Python
I try to read with Python a 4D database which is composed of 5 files (*.4DD, *.4DB, *.4DIndx, *.4DIndy, *.Match). I saw an interesting package python4DBI 1.0.4 but I can't manage to use it correctly.
The example below doesn't work and returns "ConnectionRefusedError: [WinError 10061]":
# Instantiate a connection object
con = python4DBI()
# Authentication
con.connect(user='theUser', password='thePassword')
# Check if the socket is connected
if con.connected() is True:
# Do stuff
pass
# Close the socket connection
con.close()
Have you got an explanation ? What parameters I have to enter for user and password ? Do I need to install something more, like for example SQL server?
Full beginner in database, but would like to learn...
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
