← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #265776]: Is it possible to join a multiline string using python regex in Sikuli??

 

Question #265776 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265776

eduardobedoya gave more information on the question:
I have remove the newlines from my Names variable using...
newNames= re.sub(r"(?m)(\n)", " ", Names)
so I get...
name1 name2 name3

but, still when I do...
namelist = names.split()[0:]
I get...
[u'name1', u'name2', u'name3']

So I guess the matter is that the clipboard is in utf-8
How can I change it????
please any hint

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.