📋 Metadata
- Author: roaoao
- Date: 2020-10-31 14:59:53
- Type:
answer - Reply to: post_03673
- Replies (1): post_03678
💬 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