# Load Data into 3D slicer

**URL:** <https://discourse.slicer.org/t/load-data-into-3d-slicer/19288>\
**Category:** Support\
**Created:** [August 20, 2021, 5:15pm UTC](https://discourse.slicer.org/t/load-data-into-3d-slicer/19288 "2021-08-20T17:15:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alyssan](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@alyssan](https://discourse.slicer.org/u/alyssan)\
**Post date:** [August 20, 2021, 5:15pm UTC](https://discourse.slicer.org/t/load-data-into-3d-slicer/19288/1 "2021-08-20T17:15:30Z")

</div>

I am new to 3D slicer and would like to load data for segmentation using the python interactor.

I have been using this code to load the sample data:  
import SampleData  
sampleDataLogic = SampleData.SampleDataLogic()  
masterVolumeNode = sampleDataLogic.downloadMRBrainTumor1()  
n = getNode(‘MRBrainTumor1’)

I would like this same functionality but using DICOM files stored on my Desktop. I have looked at the documentation but still have some confusion. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [August 20, 2021, 6:02pm UTC](https://discourse.slicer.org/t/load-data-into-3d-slicer/19288/2 "2021-08-20T18:02:17Z")

</div>

You should have a look through the script repository to see what kind of things are possible.

[https://slicer.readthedocs.io/en/latest/developer\_guide/script\_repository.html#load-dicom-files-into-the-scene-from-a-folder](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#load-dicom-files-into-the-scene-from-a-folder)
