Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #99595

reading from a txt file

X-Received by 10.66.140.108 with SMTP id rf12mr40691388pab.12.1448570077286; Thu, 26 Nov 2015 12:34:37 -0800 (PST)
X-Received by 10.50.79.233 with SMTP id m9mr76488igx.8.1448570077214; Thu, 26 Nov 2015 12:34:37 -0800 (PST)
Path csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!mv3no4558244igc.0!news-out.google.com!f6ni13990igq.0!nntp.google.com!mv3no3460296igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Thu, 26 Nov 2015 12:34:36 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=72.231.22.78; posting-account=6jZCFgoAAACcZBagkXQrByQxAAzVDQi4
NNTP-Posting-Host 72.231.22.78
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <175ab5d2-d8e3-44e7-a71f-88b3153daf89@googlegroups.com> (permalink)
Subject reading from a txt file
From vincentypedro@gmail.com
Injection-Date Thu, 26 Nov 2015 20:34:37 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:99595

Show key headers only | View raw


Hey, I'm wondering how to read individual strings in a text file.  I can read a text file by lines with .readlines() , 
but I need to read specifically by strings, not including spaces.  Thanks in advance

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

reading from a txt file vincentypedro@gmail.com - 2015-11-26 12:34 -0800
  Re: reading from a txt file Denis McMahon <denismfmcmahon@gmail.com> - 2015-11-26 20:50 +0000
  Re: reading from a txt file Jason Friedman <jsf80238@gmail.com> - 2015-11-26 14:04 -0700
  Re: reading from a txt file Gary Herron <gherron@digipen.edu> - 2015-11-26 13:01 -0800
  Re: reading from a txt file Pedro Vincenty <vincentypedro@gmail.com> - 2015-11-26 17:24 -0800
    Re: reading from a txt file Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-11-26 21:44 -0500

csiph-web