Commit 84688334 authored by panos's avatar panos Committed by Jérome Perrin

Rename the ConnectTodatabase object to ImportDatabase

parent 178fbebd
...@@ -26,12 +26,12 @@ from Transformations import BasicTransformations ...@@ -26,12 +26,12 @@ from Transformations import BasicTransformations
from DistributionFitting import DistFittest from DistributionFitting import DistFittest
from DistributionFitting import Distributions from DistributionFitting import Distributions
from ExcelOutput import Output from ExcelOutput import Output
import ConnectToDatabase import ImportDatabase
import json import json
#================================= Extract data from the database ==========================================# #================================= Extract data from the database ==========================================#
cnxn=ConnectToDatabase.ConnectionData(seekName='ServerData', implicitExt='txt', number_of_cursors=3) cnxn=ImportDatabase.ConnectionData(seekName='ServerData', implicitExt='txt', number_of_cursors=3)
cursors=cnxn.getCursors() cursors=cnxn.getCursors()
a = cursors[0].execute(""" a = cursors[0].execute("""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment