codecs.open create txt file in specific path Python
<p>i have this code but it saves the files in the same path of .py file, how can i do to create txt files in specific folder?</p>

<pre><code>f = codecs.open("gabili" + '.txt', mode="w", encoding="utf-16")
reload(sys)  
sys.setdefaultencoding('utf8')
f.write(u"[HELLO] *ASDASD* /(&amp;) \n")
</code></pre>