Python Forum
Extracting a portion of a text document
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extracting a portion of a text document
#5
It has new line characters ('\n'). I just copied it to a text file, read the text into Python, and printed out the repr() of the text. It has '\n' in it several times.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: Extracting a portion of a text document - by ichabod801 - Jan-17-2019, 03:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to remove footer from PDF when extracting to text jh67 3 5,675 Dec-13-2022, 06:52 AM
Last Post: DPaul
  Extracting Specific Lines from text file based on content. jokerfmj 8 3,302 Mar-28-2022, 03:38 PM
Last Post: snippsat
  How to delete portion of file already processed? Mark17 13 3,042 Jan-22-2022, 09:24 AM
Last Post: Pedroski55
  Extracting all text from a video jehoshua 2 2,298 Nov-14-2021, 09:54 PM
Last Post: jehoshua
  Extracting the text between each "i class" knight2000 4 2,476 May-26-2021, 09:55 AM
Last Post: knight2000
  Extracting data based on specific patterns in a text file K11 1 2,313 Aug-28-2020, 09:00 AM
Last Post: Gribouillis
  code not writing to projNameVal portion of code. umkc1 1 1,755 Feb-05-2020, 10:05 PM
Last Post: Larz60+
  Extracting Text Evil_Patrick 6 3,147 Nov-13-2019, 08:51 AM
Last Post: buran
  How to transfer Text from one Word Document to anouther konsular 11 4,718 Oct-09-2019, 07:00 PM
Last Post: buran
  Help Understanding Portion of Code caroline_d_124 3 2,889 Jan-15-2019, 12:12 AM
Last Post: caroline_d_124

Forum Jump:

User Panel Messages

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