# Show DICOM browser's folder import dialog

**URL:** https://discourse.slicer.org/t/show-dicom-browsers-folder-import-dialog/9347
**Category:** Development
**Tags:** dicom
**Created:** [December 1, 2019, 9:13pm UTC](https://discourse.slicer.org/t/show-dicom-browsers-folder-import-dialog/9347 "2019-12-01T21:13:08Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [December 3, 2019, 3:55am UTC](https://discourse.slicer.org/t/show-dicom-browsers-folder-import-dialog/9347/5 "2019-12-03T03:55:22Z")

</div>

You can run Python code from C++ using [`pythonManager->executeString`](http://pythonManager-%3EexecuteString).

If you want to import DICOM files from a folder then you can create ctkDICOMIndexer independent from the one in the DICOM browser as shown in [this example](https://github.com/commontk/CTK/blob/master/Libs/DICOM/Core/Testing/Cpp/ctkDICOMIndexerTest1.cpp#L36-L51).

---

_[View the full topic](https://discourse.slicer.org/t/show-dicom-browsers-folder-import-dialog/9347)._
