I have a data file in which the first line is made up of words. Here is the
original data file:
#Column density-scaled with production rate 3.16227766016838e+25
-10. 0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.000e+00
0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.00
need to. Thanks for your help.
> To: tutor@python.org
> From: alan.ga...@btinternet.com
> Date: Thu, 16 Jul 2009 19:25:51 +0100
> Subject: Re: [Tutor] objects becoming pointers
>
>
> "chris Hynes" wrote
>
> > I want the user to input a name, say "Chris
Yeah, I'm not sure if I'm explaining myself well or maybe I'm just trying to
make the code too interactive.
in my code I would type something like:
x=zeros((3,3))
so the pointer called "x" is created by the programmer, but within the code.
What if I wanted to prompt my keyboard user to type i
I guess I have to start somewhere to ask
I want the user to input a name, say "Chris". I know I can use the code:
name=raw_input()
I now want:
"Chris"=zeros((3,3))
so that when I type:
print Chris
the return will be an array of zero's 3x3
So that I can understand this deeper, I