Question: I have a script that logs into service X, and right now I just have my password as a plain text string in my script. Seems like a bad idea. What would be better?
Answer: It depends on what your concern is.
Numpy arrays are not a replacement for lists that you just drop in and everything runs faster. Numpy arrays are a commitment to doing things a certain way. If used correctly, Numpy arrays can be blazing fast. If used naively, they make things very slow.