<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Python script and windows 10]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I am having problems with python script on windows 10. On windows 7 is working (its a converting script) but on windows 10 is not. There is an error. Is anybody has problems like this? Have you got any idea what can I do?</p>
<p dir="auto">Here is the script:</p>
<p dir="auto">import os;<br />
import sys;<br />
filePathSrc=“D:\teksty”<br />
for root, dirs, files in os.walk(filePathSrc):<br />
for fn in files:<br />
if fn[-4:] != ‘.jar’ and fn[-5:] != ‘.ear’ and fn[-4:] != ‘.gif’ and fn[-4:] != ‘.jpg’ and fn[-5:] != ‘.jpeg’ and fn[-4:] != ‘.xls’ and fn[-4:] != ‘.GIF’ and fn[-4:] != ‘.JPG’ and fn[-5:] != ‘.JPEG’ and fn[-4:] != ‘.XLS’ and fn[-4:] != ‘.PNG’ and fn[-4:] != ‘.png’ and fn[-4:] != ‘.cab’ and fn[-4:] != ‘.CAB’ and fn[-4:] != ‘.ico’:<br />
notepad.open(root + “\” + fn)<br />
console.write(root + “\” + fn + “\r\n”)<br />
notepad.runMenuCommand(“Encoding”, “Convert to UTF-8”)<br />
notepad.save()<br />
notepad.close()</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/13295/python-script-and-windows-10</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 11:36:24 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/13295.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Feb 2017 13:58:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Python script and windows 10 on Wed, 15 Feb 2017 17:07:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.notepad-plus-plus.org/uid/7742">@Paulina-Padlinka</a></p>
<p dir="auto">Did you check if python script plugin has been installed successfully?<br />
Open python script console and print something to it.<br />
If everything is ok with the installation, did you change the ui language?<br />
The runMenuCommand function must have the exact spelling.</p>
<p dir="auto">Cheers<br />
Claudia</p>
]]></description><link>https://community.notepad-plus-plus.org/post/21926</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/21926</guid><dc:creator><![CDATA[Claudia Frank]]></dc:creator><pubDate>Wed, 15 Feb 2017 17:07:07 GMT</pubDate></item></channel></rss>