notebook
This commit is contained in:
@@ -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 =====
|
||||
|
||||
Reference in New Issue
Block a user