Re: Syntax question

2010-06-02 Thread pmz
On 2 Cze, 20:07, Matteo Landi wrote: > Anyway I suggest you to use a syntax like: > > >>>b = list(a) > > in order to copy a list, it should be better than slicing. > > > > > > On Wed, Jun 2, 2010 at 7:56 PM, geremy condra wrote: > > On Wed, Jun

Re: Syntax question

2010-06-02 Thread pmz
On 2 Cze, 19:56, geremy condra wrote: > On Wed, Jun 2, 2010 at 10:40 AM, pmz wrote: > > Dear Group, > > > It's really rookie question, but I'm currently helping my wife in some > > python-cases, where I'm non-python developer and some of syntax-diffs

Syntax question

2010-06-02 Thread pmz
Dear Group, It's really rookie question, but I'm currently helping my wife in some python-cases, where I'm non-python developer and some of syntax-diffs make me a bit confused. Could anyone give some light on line, as following: "ds = d[:]" ### where 'd' is an array Let me guess, is it a declar