This commit is contained in:
2025-10-24 18:55:29 +02:00
parent 45ecfe96e8
commit c94d3b9e24
2 changed files with 20 additions and 21 deletions

View File

@@ -7,14 +7,10 @@ Show decoded physician notes (RTF → plain text) directly in console.
import fdb
from striprtf.striprtf import rtf_to_text
from Functions import get_medicus_connection
# ===== connection =====
con = fdb.connect(
dsn='localhost:z:\\Medicus 3\\data\\medicus.fdb',
user='sysdba',
password='masterkey',
charset='WIN1250'
)
con = get_medicus_connection()
cur = con.cursor()
# ===== pick a few recent records =====