I am trying to capture the contents of this text document so I can operate 
on it. The contents is several lines making a paragraph. 

This is the approach I was taking but its not working. Any other 
suggestions ? 

inFile = r'E:\ProfessionalDevelopment\python\Python Scripting in 
Maya\week4\famousQuote.txt'
theWholeQuote = ()
with open (inFile,'r') as fin:
    for line in fin:
        theWholeQuote  = (line)

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/27cdd0d9-9c7e-4a8a-b0c3-f041bdd8ac38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to