Steven D'Aprano <[EMAIL PROTECTED]> writes:
> On Sat, 07 Jan 2006 01:29:46 -0500, Mike Meyer wrote:
>> Call by object is the worst choice among the three, because "object"
>> has such a vague meaning, so you never know what implications someone
>> will come away with.
> So very unlike "call by ref
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> In ordinary CS, "call by reference" generally means that the function is
> handed a reference to the *variable* holding the *value*.
That's the strictest definition of "call-by-reference". It's got a
major problem in that it means doing (with C syntax)
Terry Hancock <[EMAIL PROTECTED]> writes:
> On Sat, 07 Jan 2006 01:29:46 -0500
> Mike Meyer <[EMAIL PROTECTED]> wrote:
>> From what I can tell, Liskov proposed *three* different
>> names for
>> passing references to objects: call-by-sharing,
>> call-by-object, and call-by-object-reference.
> "Call
[contextectomy, because this quote makes no sense with or without
context]
In article <[EMAIL PROTECTED]>, Mike Meyer <[EMAIL PROTECTED]> wrote:
>
>Right. All references are objects, so "call by object" includes all
>the possibilities of "call by reference" as a subset. Not all objects
>are refer
On Sat, 07 Jan 2006 14:05:18 +0100, Claudio Grondi <[EMAIL PROTECTED]> wrote:
[...]
>What I am also looking for is a conversion to base 256 (i.e where the
>full byte is used and the string and the integer have the same actual
>content if on appropriate endian machine), which would make the bit
>
Edgar A. Rodriguez wrote:
> Hi everybody,
>
> Im newbie to Python (I found it three weeks ago) , in fact Im newbie to
> programming. I'm being reading and training with the language, but I
> still wondering about what Classes are used to. Could you please give
> me some examples??
>
> Thanks.
>
Claudio Grondi <[EMAIL PROTECTED]> writes:
> Edgar A. Rodriguez wrote:
>> Hi everybody,
>> Im newbie to Python (I found it three weeks ago) , in fact Im newbie
>> to
>> programming. I'm being reading and training with the language, but I
>> still wondering about what Classes are used to. Could you
"Gerard Flanagan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Gerard Flanagan wrote:
>
> > bwaha wrote:
> >
> > > I'd appreciate some experience from the gurus out there to help me
> > > understand how to implement MVC design in python code.
> > >
> >
>
> Badly snipped, not prete
Christian Tismer wrote:
> Xavier Morel wrote:
>
>> Would anyone have more informations about that? It doesn't seem to be an
>> issue on my side (since I tried to access the Stackless site from two
>> different connections and 3 computers) but I can't rule it out.
>
> Thanks to Carl Friedrich, I
"bwaha" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'd appreciate some experience from the gurus out there to help me
> understand how to implement MVC design in python code.
Thanks for all the help. Also this link was sent to me by pm and I found
this very useful too. Its a
Bengt Richter wrote:
> On Sat, 07 Jan 2006 14:05:18 +0100, Claudio Grondi <[EMAIL PROTECTED]> wrote:
> [...]
>
>>What I am also looking for is a conversion to base 256 (i.e where the
>>full byte is used and the string and the integer have the same actual
>>content if on appropriate endian machin
Mike Meyer wrote:
> Claudio Grondi <[EMAIL PROTECTED]> writes:
>
>>Edgar A. Rodriguez wrote:
>>
>>>Hi everybody,
>>>Im newbie to Python (I found it three weeks ago) , in fact Im newbie
>>>to
>>>programming. I'm being reading and training with the language, but I
>>>still wondering about what Class
[EMAIL PROTECTED] wrote:
> HI all,
>
> How to execute bash scripts from python (other than using os.popen) and
> get the values that those bash scripts return.
>
> I would be happy if someone could help me out in this..
Well, if stdout is not an option, then save it to file (text, GDBM,
Python s
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Hi,
>I've built an app using this great software called groupkit
>(http://www.groupkit.org/) based on tcl/tk language, now I'd like to
>test python possibilities for groupware. Anyone knows about this, I
>have made a goo
On Fri, 6 Jan 2006 [EMAIL PROTECTED] wrote:
> below you find my simple python version of MD2 algorithm
> as described in RFC1319 (http://rfc1319.x42.com/MD2).
> It produces correct results for strings shorter than 16 Bytes and wrong
> results for longer strings.
>
> I can't find what's wrong.
>
>
Claudio Grondi <[EMAIL PROTECTED]> writes:
> Yes, I see your point, but even putting my personal preferences
> beside, for someone who just started to program, learning about the
> concept of classes and inheritance is probably not what helps to get
> immediate fun out of first steps in writing sma
[EMAIL PROTECTED] writes:
> How to execute bash scripts from python (other than using os.popen) and
> get the values that those bash scripts return.
The easy way is to call it with subprocess.call.
http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix con
[EMAIL PROTECTED] writes:
> below you find my simple python version of MD2 algorithm
> as described in RFC1319 (http://rfc1319.x42.com/MD2).
> It produces correct results for strings shorter than 16 Bytes and wrong
> results for longer strings.
Why do you want to use MD2? It's very slow and it's
On Sat, 07 Jan 2006 22:03:36 -0500, Mike Meyer wrote:
> [EMAIL PROTECTED] writes:
>
>> How to execute bash scripts from python (other than using os.popen) and
>> get the values that those bash scripts return.
>
> The easy way is to call it with subprocess.call.
>>> import subprocess
Traceback
Edgar A. Rodriguez wrote:
> Hi everybody,
>
> Im newbie to Python (I found it three weeks ago) , in fact Im newbie to
> programming. I'm being reading and training with the language, but I
> still wondering about what Classes are used to. Could you please give
> me some examples??
This essay give
Mike Meyer <[EMAIL PROTECTED]> wrote:
...
> "Known problems" doesn't have URL (isn't "urlable"?) other than
> http://www.mird.org/home/mwm/try_python/. It's on that page - click on
s/mird/mired/ -- the URL as given goes to some 'oxide' thing.
> "Known Problems" to open up the section. That par
Mike Meyer <[EMAIL PROTECTED]> wrote:
> crc <[EMAIL PROTECTED]> writes:
> > I assume your talking about building a new dictionary with the key and
> > value pair switched. I have seen no built in function to do this but I
> > have found a way to create another dictionary that is the inverse of
> >
In article <[EMAIL PROTECTED]>,
Fredrik Lundh <[EMAIL PROTECTED]> wrote:
>> and the Python use is consistent with the rest of computer science.
>
>The problem isn't the word "reference" in itself, the problem is when people
>are implying that "since Python passes object references to functions, it'
101 - 123 of 123 matches
Mail list logo