[newbie] Meaning of three dots "..."

My apologies for the newbie question, but I’m reading some Robot files and seeing “…” as the leftmost characters in the line. I thought that “…” was just for multi-line documentation, but in the file it seems to be a line continuation of the preceding code. Am I more confused than normal? Can you point me to the explanation of “…” in the docs?

Thanks!

Check this ”Dividing data to several rows” section in User Guide: Robot Framework User Guide

2 Likes

Thanks! That solves it.

To understand why we use the ..., it is because Python uses it.
You can experiment by typing in a python console an expression that is continued in next line.
Example:

C:\tmp>python -i
Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> test = "Robot Framework"
>>> if test.lower().startswith('robot'):
...     print("Test string starts with Robot")
...
Test string starts with Robot
>>> quit()

C:\tmp>
1 Like