📋 Metadata

💬 Content

Stefakapapy:

It works fine but is it possible to avoid this return char at the end of line ?

Try this:

f = open("/path/to/my_file.txt", "r"); [L.label(text=line.strip()) for i, line in enumerate(f)]; f.close()

❤️ 3 likes


🔗 View on Blender Artists