On Thu, Nov 19, 2009 at 2:44 PM, Ethan Furman wrote:
> Please don't top post. :)
>
> So "shallow copy" == "new label created for existing object".
>
> So is your desired behavior to write back to the original list if your
> sub-list is modified? In other words, you are creating a window onto an
Sth else that I noticed as I started using islice. The name is somewhat
misleading. Having the slice part in the name I would expect it to imitate
the functionality of normal slices. Random access, sub-slicing etc. However,
it is only iteratable. Any particular reasons for that? My guess is that
it
On Mon, Jul 28, 2008 at 11:12 AM, Gabriel Genellina
<[EMAIL PROTECTED]>wrote:
> En Sun, 27 Jul 2008 15:26:39 -0300, Themistoklis Bourdenas <
> [EMAIL PROTECTED]> escribió:
>
> > On a related note, as the actual instance method of myclass is not foo
> but
> > decorate(foo), why are they called meth
I would recommend dive into python. Its available free online (just google
it) and it tries to teach you python, not programming which unfortunately
many books try to do. It assumes that you already have some experience with
C++ or Java and contradicts python syntax/semantics to those languages. Ve