Python Forum
Looking for simple help - text file stripping
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looking for simple help - text file stripping
#1
Hi - I'm looking for really simple Python code that will strip everything out of a text file and only leave the lines that have a (F)

I'm a complete beginner at Python so help is appreciated!!

Many thanks
Reply
#2
sounds like a homework assignment.
What have you tried so far?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up Need to compare the Excel file name with a directory text file. veeran1991 1 1,061 Dec-15-2022, 04:32 PM
Last Post: Larz60+
  Stripping numbers from text ebolisa 4 1,394 Jul-18-2022, 06:59 PM
Last Post: deanhystad
  Modify values in XML file by data from text file (without parsing) Paqqno 2 1,575 Apr-13-2022, 06:02 AM
Last Post: Paqqno
  Converted Pipe Delimited text file to CSV file atomxkai 4 6,840 Feb-11-2022, 12:38 AM
Last Post: atomxkai
  [split] How to convert the CSV text file into a txt file Pinto94 5 3,247 Dec-23-2020, 08:04 AM
Last Post: ndc85430
  Using a .bat file to execute simple anaconda commands in Windows 10 gacg1 0 4,619 Nov-30-2020, 03:24 PM
Last Post: gacg1
  Saving text file with a click: valueerror i/o operation on closed file vizier87 5 4,325 Nov-16-2020, 07:56 AM
Last Post: Gribouillis
  saving data from text file to CSV file in python having delimiter as space K11 1 2,353 Sep-11-2020, 06:28 AM
Last Post: bowlofred
  Simple plotting from txt file Laplace12 2 2,233 Aug-23-2020, 09:58 AM
Last Post: Laplace12
  Web Form to Python Script to Text File to zip file to web wfsteadman 1 2,096 Aug-09-2020, 02:12 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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