Re: Question about scope

2008-10-23 Thread Lave
ice_enabled > > Of course, within a function, the variable using the same two lines of > code assigns the correct value to RDE. > > Thank you, > > Total Newbie > -- > http://mail.python.org/mailman/listinfo/python-list > -- Regards, Lave -- http://mail.python.org/mailman/listinfo/python-list

Re: How can I handle the char immediately after its input, without waiting an endline?

2008-10-22 Thread Lave
traw(sys.stdin.fileno()) > char='' > print "Press x to exit" > while char != 'x' : > char = sys.stdin.read(1) > print "You entered : ",char > # Your code here > > > On Wed, Oct 22, 2008 at 2:34 PM, Lave <[EMAIL PRO

How can I handle the char immediately after its input, without waiting an endline?

2008-10-22 Thread Lave
Hi, all. I'm a new comer. So This question maybe sutpid.:) I want to write something that handle every char immediately after its input. Then tehe user don't need to type [RETURN] each time. How can I do this? Thanks in advance. -- Regards Lave -- http://mail.python.org/mailma

回复: How to use win32com to co nvert a MS WORD doc to HTML ?

2008-08-19 Thread Lave
HUH! :) It's solved. Thank you all! You saved my life! Thank you very much. I love you! I love Python! 2008/8/20, Simon Brunning <[EMAIL PROTECTED]>: > 2008/8/19 Lave <[EMAIL PROTECTED]>: >> Hi, all ! >> >> I'm a totally newbie huh:) >> >>

How to use win32com to convert a MS WORD doc to HTML ?

2008-08-19 Thread Lave
Hi, all ! I'm a totally newbie huh:) I want to convert MS WORD docs to HTML, I found python windows extension win32com can make this. But I can't find the method, and I can't find any document helpful. Can anyone help me? Thank in advance. -- http://mail.python.org/mailman/listinfo/python-list