title: How to read nltk.text.Text files from nltk.book in Python?
body: <p>i'm learning a lot about Natural Language Processing with nltk, can do a lot of things, but I'm not being able to find the way to read Texts from the package. I have tried things like this:</p>
  
  <pre><code>from nltk.book import *
  text6 #Brings the title of the text
  open(text6).read()
  #or
  nltk.book.text6.read()
  </code></pre>
  
  <p>But it doesn't seem to work, because it has no fileid. No one seems to have asked this question before, so I assume the answer should be easy. Do you know what's the way to read those texts or how to convert them into a string?
  Thanks in advance</p>