Python Forum
common form of multi-line text
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
common form of multi-line text
#1
for a function intended to take a multi-line block of text and produce a different multi-line block of text as the return value (not necessarily the same number of lines), should it expect a string with '\n' or '\r' or '\r\n' ending each line or should it expect a list or tuple of strings with no control ending?
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
common form of multi-line text - by Skaperen - Nov-26-2019, 09:00 PM
RE: common form of multi-line text - by ichabod801 - Nov-26-2019, 09:10 PM
RE: common form of multi-line text - by Skaperen - Nov-28-2019, 03:34 PM
RE: common form of multi-line text - by ichabod801 - Nov-29-2019, 01:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb traceback and multi-line statement Skaperen 0 848 Jan-31-2023, 12:23 AM
Last Post: Skaperen
  a form of coded logic in a comand line Skaperen 10 2,927 Mar-02-2022, 08:43 PM
Last Post: Skaperen
  common element in some lists Skaperen 4 2,520 May-23-2021, 10:57 PM
Last Post: Skaperen
  How to create a New line in a Text block in Blender software using Python 3.7? starzar 0 4,731 Jun-08-2019, 08:27 AM
Last Post: starzar

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020