Re: Hello Everyone! A simple questions!

2013-07-26 Thread Florian Baumgartner
As alex23 already indicated you created a recursive data-structure (by inserting a reference to the list into the second place of the list) and the interpreter handles this gracefully by showing [...]. In case you really want to insert the lists members into the second place you can assign a copy

Re: Hello Everyone! A simple questions!

2013-07-25 Thread Thanatos xiao
Thanks I just surprised by three dot 2013/7/26 Florian Baumgartner > As alex23 already indicated you created a recursive data-structure (by > inserting a reference to the list into the second place of the list) and > the interpreter handles this gracefully by showing [...]. > > In case you real

Re: Hello Everyone! A simple questions!

2013-07-25 Thread Ben Finney
Thanatos xiao writes: > >>> values = [0, 1, 2]>>> values[1] = values>>> values[0, [...], 2] > > why?? Because. :-) Did you have a more specific question? What exactly are you expecting that code to do, and what is the surprise? -- \ “I was the kid next door's imaginary friend.” —Emo

Re: Hello Everyone! A simple questions!

2013-07-25 Thread alex23
On 26/07/2013 12:15 PM, Thanatos xiao wrote: values = [0, 1, 2] values[1] = values values [0, [...], 2] why?? First, it helps if you tell us what you were expecting instead. In your example, you have a list where you have replaced the 2nd element with the list itself. The [...] i

Hello Everyone! A simple questions!

2013-07-25 Thread Thanatos xiao
>>> values = [0, 1, 2]>>> values[1] = values>>> values[0, [...], 2] why?? -- http://mail.python.org/mailman/listinfo/python-list

Re: hello everyone! i'm a new member from China

2012-07-02 Thread rdsteph
On Jul 2, 12:50 am, Peter Otten <__pete...@web.de> wrote: > levi nie wrote: > > i love python very much.it's powerful,easy and useful. > > i got it from Openstack.And i'm a new guy on python. > > Welcome! > > > Can i ask some stupid questions in days? haha... > > Sure, but we cannot guarantee that

Re: hello everyone! i'm a new member from China

2012-07-02 Thread Chris Angelico
On Mon, Jul 2, 2012 at 12:48 AM, levi nie wrote: > i love python very much.it's powerful,easy and useful. > i got it from Openstack.And i'm a new guy on python. > Can i ask some stupid questions in days? haha... Of course you can. Everyone else does! :) Just remember to give it a good subject lin

Re: hello everyone! i'm a new member from China

2012-07-02 Thread Peter Otten
levi nie wrote: > i love python very much.it's powerful,easy and useful. > i got it from Openstack.And i'm a new guy on python. Welcome! > Can i ask some stupid questions in days? haha... Sure, but we cannot guarantee that the answer will be stupid, too ;) -- http://mail.python.org/mailman/li

hello everyone! i'm a new member from China

2012-07-02 Thread levi nie
i love python very much.it's powerful,easy and useful. i got it from Openstack.And i'm a new guy on python. Can i ask some stupid questions in days? haha... -- http://mail.python.org/mailman/listinfo/python-list

Re: Hello, Everyone. I have a problem when using Pexpect module.

2010-11-05 Thread dachuan
maybe i found why pexpect doesn't work in my environment. (but still, i don't know how solve it) my machine is actually a xen domain U, whose kernel is host's kernel. when I test pexpect module directly on host machine, it works pretty fine. and that's all I can do about it, maybe pexpect use ps

Hello, Everyone. I have a problem when using Pexpect module.

2010-11-04 Thread dachuan
hi, everyone. When I use Pexpect Module, I met the following problem and don't know how to handle it. Any advice is appreciated ! My environment: Linux node08_xen3.4.3_rhel5_1 2.6.18.8-xen #1 SMP Wed Jul 14 17:20:01 CST 2010 i686 i686 i386 GNU/Linux (FYI: this is a virtual machine.) Python 2.5.5

Re: Hello everyone!

2009-04-21 Thread Dotan Cohen
> I'm a newby here, I love python very much. > Is there any Chinese here? http://wiki.python.org/moin/LocalUserGroups#China You also might want to start a Chinese mailing list and add it here: http://mail.python.org/mailman/listinfo -- Dotan Cohen http://what-is-what.com http://gibberish.co.il

Re: Hello everyone!

2009-04-21 Thread Gabriel Genellina
En Sun, 19 Apr 2009 09:54:36 -0300, Yilong Deng <05301...@bjtu.edu.cn> escribió: I'm a newby here, I love python very much. Welcome! Is there any Chinese here? Maybe - it seems there are people from all around the world... -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo

Hello everyone!

2009-04-20 Thread Yilong Deng
I'm a newby here, I love python very much. Is there any Chinese here?-- http://mail.python.org/mailman/listinfo/python-list