Post #3675: : post_03678
🏷️ Tags
⚙️ Related PME Features
- Python Scripting
- Macro Editor
💬 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