# Changing the download location of the MNE sample data

**URL:** <https://mne.discourse.group/t/changing-the-download-location-of-the-mne-sample-data/1262>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [July 19, 2017, 4:03pm UTC](https://mne.discourse.group/t/changing-the-download-location-of-the-mne-sample-data/1262 "2017-07-19T16:03:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [July 19, 2017, 4:03pm UTC](https://mne.discourse.group/t/changing-the-download-location-of-the-mne-sample-data/1262/1 "2017-07-19T16:03:30Z")

</div>

Hi,

I'd like to look at the MNE sample data. I'm importing it using:

from mne.datasets import sample

How can I change the directory to which the data gets downloaded?

Thanks and Best Regards,  
Gladia  
-------------- next part --------------  
An HTML attachment was scrubbed...  
URL: [http://mail.nmr.mgh.harvard.edu/pipermail/mne\_analysis/attachments/20170719/ec83ec2f/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170719/ec83ec2f/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [July 19, 2017, 6:19pm UTC](https://mne.discourse.group/t/changing-the-download-location-of-the-mne-sample-data/1262/2 "2017-07-19T18:19:59Z")

</div>

hi,

have a look at:

[http://martinos.org/mne/dev/generated/mne.datasets.sample.data\_path.html#mne.datasets.sample.data\_path](http://martinos.org/mne/dev/generated/mne.datasets.sample.data_path.html#mne.datasets.sample.data_path)

you can specify the path param.

HTH  
A
