# OSError: \[Errno 7017\] EEXIST

**URL:** <https://forums.digi.com/t/oserror-errno-7017-eexist/22861>\
**Category:** XBee - Zigbee\
**Tags:** errno, xbee3, zigbee\
**Created:** [December 17, 2021, 1:38pm UTC](https://forums.digi.com/t/oserror-errno-7017-eexist/22861 "2021-12-17T13:38:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnpp](https://avatars.discourse-cdn.com/v4/letter/n/a6a055/32.png) [@nnpp](https://forums.digi.com/u/nnpp)\
**Post date:** [December 17, 2021, 1:38pm UTC](https://forums.digi.com/t/oserror-errno-7017-eexist/22861/1 "2021-12-17T13:38:37Z")

</div>

Hi there,

I have an Xbee3 Zigbee, IDE is Pycharm. I am trying to write to a txt file where I will store the values I get from an ADC pin. When I try to open it (file\_1 = open(‘log.txt’, ‘w’)) I get this error:  
OSError: [Errno 7017] EEXIST

Is this due to the filesystem of the module being limited? Is there any way to write to a txt file in this module?

Thanks for your help
