dbdicom.Record.path#

Record.path() str[source]#

Directory of the DICOM database

Returns:

full path to the directory

Return type:

str

See also

print()

Example

Create a new database in memory:

>>> database = db.database()
>>> print(database.path())
None

Open an existing DICOM database:

>>> database = db.database('path\to\DICOM\database')
>>> print(database.path())
path        o\DICOM\database