Re: [Maya-Python] How to capture the contents of this file.

2017-09-21 Thread Justin Israel
On Fri, Sep 22, 2017, 4:07 AM jettam wrote: > It is a paragraph with a new line character at the end of each line. At > this stage I am just trying to capture the whole paragraph. I was able to > do that with your advice by using the name.append() in a for in statement. > I was confused because I

Re: [Maya-Python] How to capture the contents of this file.

2017-09-21 Thread jettam
It is a paragraph with a new line character at the end of each line. At this stage I am just trying to capture the whole paragraph. I was able to do that with your advice by using the name.append() in a for in statement. I was confused because I thought this should be captured as a string not a

Re: [Maya-Python] How to capture the contents of this file.

2017-09-20 Thread Justin Israel
On Thu, Sep 21, 2017, 5:49 AM jettam wrote: > 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:\ProfessionalDe

[Maya-Python] How to capture the contents of this file.

2017-09-20 Thread jettam
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\famou