Indeed, but is it not a variable? Is a variable in programming not
merely a name associated with a value (which can changed over the course
of code execution)?
James Stroud wrote:
I think, strictly speaking, foo would be a "name" in python.
foo
Traceback (most recent call last):
Fil
Richard Blackwood wrote:
To All:
Folks, I need your help. I have a friend who claims that if I write:
foo = 5
then foo is NOT a variable, necessarily. If you guys can define for me
what a variable is and what qualifications you have to back you, I can
pass this along to, hopefully, convince hi
Robert Kern wrote:
Richard Blackwood wrote:
To All:
Folks, I need your help. I have a friend who claims that if I write:
foo = 5
then foo is NOT a variable, necessarily. If you guys can define for
me what a variable is and what qualifications you have to back you, I
can pass this along to, hop
On Sun, 24 Apr 2005 03:15:02 +0200, Ivan Voras
<[EMAIL PROTECTED]> wrote:
>I have a string fetched from database, in iso8859-2, with 8bit
>characters,
"8bit characters"?? Maybe you did once, or you thought you did, but
what you have now is a Unicode string, and socket.write() is expecting
an ord
Richard Blackwood wrote:
Indeed, this language is math. My friend says that foo is a constant and
necessarily not a variable. If I had written foo = raw_input(), he would
say that foo is a variable.
Then what does he say if you write:
foo = 5
foo = 6
?
STeVe
--
http://mail.python.org/mailman/list
Richard Blackwood wrote:
To All:
Folks, I need your help. I have a friend who claims that if I write:
foo = 5
then foo is NOT a variable, necessarily.
Indeed, this language is math. My friend says that foo is a constant and
necessarily not a variable.
Well, we mostly talk Python here, not ma
Steven Bethard wrote:
Richard Blackwood wrote:
Indeed, this language is math. My friend says that foo is a constant
and necessarily not a variable. If I had written foo = raw_input(),
he would say that foo is a variable.
Then what does he say if you write:
foo = 5
foo = 6
?
STeVe
He says that fo
On 23 Apr 2005 13:17:55 -0700, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>If I have
>
>ex: x = [[1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0],
> [1,1,1,0,1,1,0,0,0,0,0,1,1,1,1,0,0,0],
> [1,1,1,0,1,1,1,0,1,1,0,1,1,1,0,0,0,0],
> [0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0]]
>what I wan
Richard Blackwood wrote:
Indeed, this language is math. My friend says that foo is a constant and
necessarily not a variable. If I had written foo = raw_input(), he would
say that foo is a variable. Which is perfectly fine except that he
insists that since programming came from math, the concept
Kent Johnson wrote:
Richard Blackwood wrote:
To All:
Folks, I need your help. I have a friend who claims that if I
write:
foo = 5
then foo is NOT a variable, necessarily.
Indeed, this language is math. My friend says that foo is a constant
and necessarily not a variable.
Well, we mostly t
John Bokma <[EMAIL PROTECTED]> writes:
> Mike Meyer wrote:
>
>> John Bokma <[EMAIL PROTECTED]> writes:
>>
>>> Mike Meyer wrote:
>>>
"Simon John" <[EMAIL PROTECTED]> writes:
> I still love Perl, it's a bit of an art form, as "there's more than
> one way to do it", whereas Python
Richard Blackwood wrote:
Kent Johnson wrote:
Richard Blackwood wrote:
To All:
Folks, I need your help. I have a friend who claims that if I
write:
foo = 5
then foo is NOT a variable, necessarily.
Indeed, this language is math. My friend says that foo is a constant
and necessarily not a var
"Marcus Goldfish" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I need to write a "fast" file reader in python for binary files structured
>as:
>
>
x[0] y[0] z[0] x[1] y[1] z[1]
>
> where c[k] is the k-th element from sequence c. As mentioned, the
> file is binary -- spaces
Richard Blackwood <[EMAIL PROTECTED]> writes:
> Robert Kern wrote:
>> Richard Blackwood wrote:
>>> To All:
>>>
>>>Folks, I need your help. I have a friend who claims that if I write:
>>>
>>> foo = 5
>>>
>>> then foo is NOT a variable, necessarily. If you guys can define for
>>> me what a varia
Robert Kern wrote:
Richard Blackwood wrote:
Kent Johnson wrote:
Richard Blackwood wrote:
To All:
Folks, I need your help. I have a friend who claims that if I
write:
foo = 5
then foo is NOT a variable, necessarily.
Indeed, this language is math. My friend says that foo is a
constant and ne
Richard Blackwood wrote:
> Steven Bethard wrote:
>
> > Richard Blackwood wrote:
> >
> >> Indeed, this language is math. My friend says that foo is a
constant
> >> and necessarily not a variable. If I had written foo =
raw_input(),
> >> he would say that foo is a variable.
> >
> >
> > Then what does
Mike Meyer wrote:
Richard Blackwood <[EMAIL PROTECTED]> writes:
Robert Kern wrote:
Richard Blackwood wrote:
To All:
Folks, I need your help. I have a friend who claims that if I write:
foo = 5
then foo is NOT a variable, necessarily. If you guys can define for
me what a variable is
Dan Bishop wrote:
Richard Blackwood wrote:
Steven Bethard wrote:
Richard Blackwood wrote:
Indeed, this language is math. My friend says that foo is a
constant
and necessarily not a variable. If I had written foo =
raw_input(),
he would say that foo is a variab
"Richard Blackwood" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Indeed, this language is math.
In mathematics, the word 'variable' is generally an undefined meta-term
that is *notorious* for having multiple possible meanings and shades of
meaning. One mathematician/linguist
"jeff elkins" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> under debian sid, I installed (via apt-get) the various wxpython stuff
> available.:
>
> libwxgtk2.4-python
> libwxgtk2.5.3-python
> python-opengl
> python-pythoncard
> python2.1-opengl
> python2.2-opengl
> python2.3-opengl
Terry Reedy wrote:
"Richard Blackwood" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Indeed, this language is math.
In mathematics, the word 'variable' is generally an undefined meta-term
that is *notorious* for having multiple possible meanings and shades of
meaning. One
On Sat, 23 Apr 2005 22:45:14 -0400, Richard Blackwood <[EMAIL PROTECTED]> wrote:
>Robert Kern wrote:
>
>> Richard Blackwood wrote:
>>
>>> To All:
>>>
>>>Folks, I need your help. I have a friend who claims that if I write:
>>>
>>> foo = 5
>>>
>>> then foo is NOT a variable, necessarily. If you
Bengt Richter wrote:
On Sat, 23 Apr 2005 22:45:14 -0400, Richard Blackwood <[EMAIL PROTECTED]> wrote:
Robert Kern wrote:
Richard Blackwood wrote:
To All:
Folks, I need your help. I have a friend who claims that if I write:
foo = 5
then foo is NOT a variable, necessarily. If you guy
Richard Blackwood wrote:
Robert Kern wrote:
If you must, http://en.wikipedia.org/wiki/Variable
Fantastic, wikipedia deals precisely with the difference between
variables in mathematics versus programming. However, he would never
trust a definition from such an "unreputable" source. If you have a
Robert Kern wrote:
Richard Blackwood wrote:
Robert Kern wrote:
If you must, http://en.wikipedia.org/wiki/Variable
Fantastic, wikipedia deals precisely with the difference between
variables in mathematics versus programming. However, he would never
trust a definition from such an "unreputable" so
Richard Blackwood wrote:
He would argue strongly against your notion of variable. In the
statement "foo = 5", foo is constant. He would thus argue that foo is a
constant and not a variable (regardless of whether you change foo's
value in subsequent statements).
Sounds like his mind is made up an
>>In mathematics, the word 'variable' is generally an undefined meta-term
>>that is *notorious* for having multiple possible meanings and shades of
>>meaning. One mathematician/linguist once claimed to have discerned
>>somewhere around 15 different meanings and shades thereof.
>>
> What is his
Richard Blackwood wrote:
Bengt Richter wrote:
On Sat, 23 Apr 2005 22:45:14 -0400, Richard Blackwood
<[EMAIL PROTECTED]> wrote:
Robert Kern wrote:
Richard Blackwood wrote:
To All:
Folks, I need your help. I have a friend who claims that if I write:
foo = 5
then foo is NOT a variable
101 - 128 of 128 matches
Mail list logo