sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32047
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
RaiMan posted a new comment:
some Python tutorial ;-)
Names = """
Names =
#name1
#name2
~name3
"""
namelist = Names.split()[2:]
for i in range(len(namelist)):
namelist[i] = namelist[i][1:]
print namelist
printout:
['name1', 'name2', 'name3']
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.