On 15/01/11 09:52, dstaley wrote:
>
> Warning, I am a python noob. Not only do I not know python, I really don't
> know anything about programming outside of ArcInfo and the ancient AML
> language. Regardless, here is my problem
>
> Let's say I have three text files (test1.txt, test2.txt and
On Friday, January 14, 2011, dstaley wrote:
>
> Warning, I am a python noob. Not only do I not know python, I really don't
> know anything about programming outside of ArcInfo and the ancient AML
> language. Regardless, here is my problem
>
> Let's say I have three text files (test1.txt, tes
> textlist = ["test1.txt", "test2.txt", "test3.txt"]
>
> for i in textlist:
> text_file = open(textlist, "a")
> text_file.write("\nI suck at Python and need help")
> text_file.close()
>
> But, this doesn't work. It gives me the error:
>
> coercing to Unicode: need string or buffe
Warning, I am a python noob. Not only do I not know python, I really don't
know anything about programming outside of ArcInfo and the ancient AML
language. Regardless, here is my problem
Let's say I have three text files (test1.txt, test2.txt and test3.txt).
Each text file has 1 line of te