Python Forum
conversion of newlines in a string
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
conversion of newlines in a string
#4
(Jan-14-2024, 08:39 AM)Gribouillis Wrote: because we don't know a priori if it is a Windows file or a Mac file.
so, \r has a different meaning depending on which. i recall that, now. i was thinking in a narrow box trying to cover potential cases. i will know a priori whether it is Windows or Mac so i could use a different function for each. i was wondering if i should implement my own set of functions or use what Python might have.
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
conversion of newlines in a string - by Skaperen - Jan-14-2024, 06:20 AM
RE: conversion of newlines in a string - by buran - Jan-14-2024, 02:04 PM
RE: conversion of newlines in a string - by Skaperen - Jan-16-2024, 03:29 AM

Forum Jump:

User Panel Messages

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