Py File: named Portuguesetranslator.py
with open('C:/Users/User/Desktop/Portuguesetranslator.txt') as f:
for l in f:
s = l.split('*')
editor.replace(s[0],s[1])
I created that into Python Script inside of Notepad++
Then i have my "database" called Portuguesetranslator.txt
And is separated into
Result*Resultado* Event*Evento* .... and more 1k++ exapmles like this
Then the process i do is.. I open a 3rd tab... copy an text from the internet.. and place into that tab.. then i run the script by pressing plugin/python script/portuguesetranslator
And its run in my entire document and search and replace ..
So what im doing wrong?