how to use while len(string) > 1 : ??
Asked by
VincentDugue
Hi everybody !
I need help for my script...
#1st line
def my_find(str):
while len(str) > 1 :
str2 = (str[len(str)-1:]
return my_find(
RegionSearch = find(str+".png")
return RegionSearch
#End my_find
#indent correct
doubleClick(
I'm working on an airport software and i want to create a "SearchingTool" :
Write the name of the airplane, doubleClick on the Airplane in the software...
My function is working but it doesn't click on the good airplane
I think THE while isn't working. I need help please :)
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask VincentDugue for more information if necessary.
To post a message you must log in.