[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Sat Jan 8 23:28:16 2005 -->
- <!--x-from-r13: wybqra ng gbhtuthl.arg (Xnl Zbqra) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 41E03E4A.8040105@proteus-tech.com -->
- <!--x-reference: 1105221472.4540.33.camel@juanita --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Python - read in text minus "\n" -->
- <li><em>date</em>: Sat Jan 8 23:28:16 2005</li>
- <li><em>from</em>: jloden at toughguy.net (Jay Loden)</li>
- <li><em>in-reply-to</em>: <1105221472.4540.33.camel@juanita></li>
- <li><em>references</em>: <<a href="msg00282.html">[email protected]</a>> <<a href="msg00284.html">[email protected]</a>> <1105221472.4540.33.camel@juanita></li>
- <li><em>subject</em>: [ale] Python - read in text minus "\n"</li>
does what I would have needed too, but I have to do it for each line in the
file anyway, so I guess I'll stick with the method i found with splitlines()
-Jay
On Saturday 08 January 2005 4:57, Jeff Hubbs wrote:
> Will input = x.readline()[-1] work?
>
> Jeff
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00282" href="msg00282.html">[ale] Python - read in text minus "\n"</a></strong>
<ul><li><em>From:</em> jloden at toughguy.net (Jay Loden)</li></ul></li>
<li><strong><a name="00284" href="msg00284.html">[ale] Python - read in text minus "\n"</a></strong>
<ul><li><em>From:</em> scherrey at proteus-tech.com (Benjamin Scherrey)</li></ul></li>
<li><strong><a name="00286" href="msg00286.html">[ale] Python - read in text minus "\n"</a></strong>
<ul><li><em>From:</em> hbbs at comcast.net (Jeff Hubbs)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00286.html">[ale] Python - read in text minus "\n"</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00288.html">[ale] Bellsouth DSL</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00286.html">[ale] Python - read in text minus "\n"</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00285.html">[ale] Python - read in text minus "\n"</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00287"><strong>Date</strong></a></li>
<li><a href="threads.html#00287"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>