[Numpy-discussion] NOOB Alert: Looping Through Text Files...

2011-01-14 Thread dstaley
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

Re: [Numpy-discussion] Variable in an array name?

2011-01-12 Thread dstaley
Zachary Pincus-2 wrote: > >> Is it possible to use a variable in an array name? I am looping >> through a >> bunch of calculations, and need to have each array as a separate >> entity. >> I'm pretty new to python and numpy, so forgive my ignorance. I'm >> sure there >> is a simple answer

[Numpy-discussion] Variable in an array name?

2011-01-12 Thread dstaley
Is it possible to use a variable in an array name? I am looping through a bunch of calculations, and need to have each array as a separate entity. I'm pretty new to python and numpy, so forgive my ignorance. I'm sure there is a simple answer, but I can't seem to find it. let's say i have a var