Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Python is an interpreted, general-purpose high-level programming language whose design philosophy emphasizes code readability. Use the python tag for all Python related questions. If you believe your question may be even more specific, you can include a version specific tag such as python-3.x.
3
votes
1
answer
2k
views
Project RoboNest - Basic Nestable Robot Framework For Loop
I have no formal training in Python. This script was how I learned the language, so please don't expect it to be "Pythonic", I think the term is. …
1
vote
0
answers
1k
views
Click the center of an image if that image appears on the screen
To be clear, this code is built to be used with the Snipping Tool and Robot Framework. Use the snipping tool to snip an image of something on the screen. A strange button with weird locators, somethin …
1
vote
Accepted
Project RoboNest - Basic Nestable Robot Framework For Loop
I found my shortcuts and performance enhancements via list comprehension.
Test Code:
*** Settings ***
Library Loops.py
*** Variables ***
${blue_squadron} = Blue
${gold_squadron} = Gol …
2
votes
0
answers
904
views
Optimization Resource File for Robot Framework
Loops.py is located in one of my other posts (Python - Robot Framework Loops). o_o.py is down below. …
2
votes
2
answers
5k
views
Evaluate string as boolean expression for Robot Framework
I wrote this code as a part of a series of major upgrades to my nestable Robot Framework For Loop that will allow it to evaluate logical expressions written in a single cell from the Robot Framework s …
0
votes
Evaluate string as boolean expression for Robot Framework
Re-written as requested.
@staticmethod
def _evaluate_boolean_string(condition):
condition = str(condition).replace(" ", "") # Cast the condition as a string with no whitespaces
inverse = Fal …
2
votes
0
answers
467
views
Project RoboNest - Nestable/Breakable For Loops for Robot Framework
A common feature of basic loops is the break functionality, allowing the user to specify break points for their loop to stop. I've been creating a keyword to enable nesting loops in Robot Framework. T …
1
vote
1
answer
1k
views
Project RoboNest - Nestable/Breakable For Loops + Basic While Loops for Robot Framework
The following code works, but as (still) a relative novice in Python I don't know all the tricks that could be used to optimize this loop structure and logic. … 2.7.13, Robot Framework 3.0.2 (Python 2.7.13 on win32)
Dependencies: BuiltIn Library, ExtendedSelenium2Library …
0
votes
Accepted
Project RoboNest - Nestable/Breakable For Loops + Basic While Loops for Robot Framework
After a significant amount of optimization, I got it... mostly. The main looping variable for the While Loop is still clunky (still working through BuiltIn's method of accessing Robot Framework-style …