Python Forum

Full Version: Looking for simple help - text file stripping
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
sounds like a homework assignment.
What have you tried so far?