[Tutor] 答复: 答复: Any book to study Python

2012-03-19 Thread Yan, Xianming
Okay, got it. Thanks for your suggestion! Thanks Xianming 发件人: wesley chun [mailto:wes...@gmail.com] 发送时间: 2012年3月20日 13:10 收件人: Yan, Xianming 抄送: Russel Winder; Brian van den Broek; tutor@python.org; Sarah Mount; James Shuttleworth 主题: Re: 答复: [Tutor] Any book to study Python On Mon, Mar 19,

Re: [Tutor] 答复: Any book to study Python

2012-03-19 Thread wesley chun
On Mon, Mar 19, 2012 at 6:36 PM, Yan, Xianming < xianming@intercallapac.com> wrote: > > I've bought the book named Python 核 心 编 程 (第二版) on www.dangdang.com. I > guess I can get the book today. > > To Wesley, I did not realize you are the author of Python 核 心 编 程 (第二版) > until I read the book's

Re: [Tutor] 答复: Any book to study Python

2012-03-19 Thread Dave Angel
On 03/19/2012 09:36 PM, Yan, Xianming wrote: And to Brian vdB, I have my job need to do on windows platforms, and I installed python on a linux virtual machine hosted on my PC, so I can't copy/paste the code here. But it is a very good point that install the python interepter on Windows platf

Re: [Tutor] 答复: Any book to study Python

2012-03-19 Thread Leam Hall
On 03/19/2012 09:36 PM, Yan, Xianming wrote: Hello Russel, Thanks for your recommendation and reply. ... Xianming, Wesley is a great help here as is Alan Gauld. One of the things I really like about the Python language is the experts who still help us new programmers. Leam __

[Tutor] 答复: Any book to study Python

2012-03-19 Thread Yan, Xianming
Hello Russel, Thanks for your recommendation and reply. I've bought the book named Python 核 心 编 程 (第二版) on www.dangdang.com. I guess I can get the book today. To Wesley, I did not realize you are the author of Python 核 心 编 程 (第二版) until I read the book's note online carefully and found your n

Re: [Tutor] Unable to open .py files directly

2012-03-19 Thread bob gailer
On 3/19/2012 10:30 AM, Surya K wrote: Hi there, I am facing a typical problem in opening .py files by clicking them (In windows). In addition to the other advice - "open" is ambiguous. What do you want to happen? Edit or execute? clicking a file usually just selects it. Do you mean double-c

Re: [Tutor] Any book to study Python

2012-03-19 Thread Russel Winder
Xianming, On Mon, 2012-03-19 at 18:38 +1100, Yan, Xianming wrote: > Hello all, > > I'm a new learning to python and does not know python anything at all. > > Anyone can recommend a book about python to read? I prefer a paper-based > book, not online book. > > By the way, I'm from china, I hop

Re: [Tutor] Unable to open .py files directly

2012-03-19 Thread Alan Gauld
On 19/03/12 17:56, Alan Gauld wrote: Python 3.x raw_input("Hit any key to quit...") oops. Should be: input("Hit any key to quit...") -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python

Re: [Tutor] Unable to open .py files directly

2012-03-19 Thread Alan Gauld
On 19/03/12 14:30, Surya K wrote: Hi there, I am facing a typical problem in opening .py files by clicking them (In windows). When ever I those files, there's a black window opening and closing immediately (I think, its output of python at python command line, NOT SURE). I have to open those fi

Re: [Tutor] Unable to open .py files directly

2012-03-19 Thread Emile van Sebille
On 3/19/2012 7:30 AM Surya K said... Hi there, I am facing a typical problem in opening .py files by clicking them (In windows). When ever I those files, there's a black window opening and closing immediately (I think, its output of python at python command line, NOT SURE). I have to open those

[Tutor] Unable to open .py files directly

2012-03-19 Thread Surya K
Hi there, I am facing a typical problem in opening .py files by clicking them (In windows). When ever I those files, there's a black window opening and closing immediately (I think, its output of python at python command line, NOT SURE). I have to open those files from IDE's or any test editors

Re: [Tutor] Any book to study Python

2012-03-19 Thread Brian van den Broek
On 19 Mar 2012 11:42, "Yan, Xianming" wrote: > > I'm following http://docs.python.org/tutorial/interpreter.html to type in the first script into python. > > According to the link, I typed below: > > >>> the_world_is_flat = 1 > >>> if the_world_is_flat: > ... print "Be careful not to fall off!"

Re: [Tutor] commands.getoutput equivalent in subprocess

2012-03-19 Thread Pete O'Connell
Ok thanks a lot. Pete On Mon, Mar 19, 2012 at 10:01 PM, Peter Otten <__pete...@web.de> wrote: >> Pete O'Connell wrote: > >> Hi, I am using Python 2.6 I can't use Python 3 in this particular > situation. > > [Please reply to the list, not in private mail.] > > You can continue to use commands.geto

[Tutor] 答复: Any book to study Python

2012-03-19 Thread Yan, Xianming
I guess I solved the problem. I should type in some space before the print "dd" statement. Sorry for disturbing you if the e-mail. Thanks Xianming -邮件原件- 发件人: Yan, Xianming 发送时间: 2012年3月19日 17:40 收件人: 'tutor@python.org' 主题: Any book to study Python I'm following http://docs.python.org

[Tutor] Any book to study Python

2012-03-19 Thread Yan, Xianming
I'm following http://docs.python.org/tutorial/interpreter.html to type in the first script into python. According to the link, I typed below: >>> the_world_is_flat = 1 >>> if the_world_is_flat: ... print "Be careful not to fall off!" Then I get below output: File "", line1 Print "dd"

Re: [Tutor] commands.getoutput equivalent in subprocess

2012-03-19 Thread Peter Otten
> Pete O'Connell wrote: > Hi, I am using Python 2.6 I can't use Python 3 in this particular situation. [Please reply to the list, not in private mail.] You can continue to use commands.getoutput() in 2.6 and 2.7, and once you are ready to make the jump to 3.x replace it with subprocess.getoutp

Re: [Tutor] Any book to study Python

2012-03-19 Thread Alan Gauld
On 19/03/12 07:38, Yan, Xianming wrote: Hello all, I'm a new learning to python and does not know python anything at all. Anyone can recommend a book about python to read? I prefer a paper-based book, not online book. By the way, I'm from china, I hope the book is Chinese--:)--Reading in Chin

[Tutor] 答复: Any book to study Python

2012-03-19 Thread Yan, Xianming
Hello Wesley, Thanks for your reply. Yes, I saw this book in www.dangdang.com and just want to buy it. But there are a lot of critics about the translation. So I’m still researching with it. Hopefully I can find a very classical book for python and take me into its pr

Re: [Tutor] Any book to study Python

2012-03-19 Thread wesley chun
你好 Xianming, I have a book -- *Python 核 心 编 程 (第二版)* -- that is for people who already program but want to learn Python. It is available in China from at least 3 online stores: http://www.china-pub.com/39969 http://www.amazon.cn/dp/bkbk835890 http://mall.sina.com.cn/product_1749023.htm In the A

[Tutor] Any book to study Python

2012-03-19 Thread Yan, Xianming
Hello all, I'm a new learning to python and does not know python anything at all. Anyone can recommend a book about python to read? I prefer a paper-based book, not online book. By the way, I'm from china, I hope the book is Chinese--:)--Reading in Chinese is quicker~:) Thanks Xianming _