notebookvb

This commit is contained in:
Vladimir Buzalka
2026-04-29 06:51:47 +02:00
parent a1b9c93506
commit a9c143ba24
141 changed files with 30711 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import os, fdb
import funkce1
# Connect to the Firebird database
conn = fdb.connect(
dsn=r'localhost:c:\medicus 3\data\medicus.fdb', # Database path
user='SYSDBA', # Username
password="masterkey", # Password,
charset="win1250")
cesta=r"u:\NextcloudOrdinace\Dokumentace_ke_zpracování"
for soubor in os.listdir(cesta):
print(soubor)
if os.path.isfile(os.path.join(cesta, soubor)):
if funkce1.kontrola_struktury(soubor, conn):
# info.append(vrat_info_o_souboru(soubor,conn))
# os.remove(os.path.join(cesta,soubor))
continue
else:
funkce1.prejmenuj_chybny_soubor(soubor, cesta)