Re: Being unjust

2006-01-18 Thread Runsun Pan
set of gui approach. -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~Runsun Pan, PhD[EMAIL PROTECTED]Nat'l Center for Macromolecular Imaging http://ncmi.bcm.tmc.edu/ncmi/~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ -- http://mail.python.org/mailman/listinfo/python-list

Re: Read from Serial Port

2006-01-21 Thread Runsun Pan
How about reading from the USB ports ?-- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~Runsun Pan, PhD[EMAIL PROTECTED]Nat'l Center for Macromolecular Imaging http://ncmi.bcm.tmc.edu/ncmi/~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ -- http://mail.python.org/mailman/listinfo/python-list

Re: LocaWapp: localhost web applications (v.03 - 2005 Dec 31)

2006-01-22 Thread Runsun Pan
On 1 Jan 2006 08:15:42 -0800, LocaWapp [EMAIL PROTECTED] wrote: http://cheeseshop.python.org/packages/source/L/LocaWapp/locawapp-03.tar.gz Not Found The requested URL /packages/source/L/LocaWapp/locawapp-03.tar.gz was not found on this server. -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~Runsun Pan

Re: Being unjust

2006-01-22 Thread Runsun Pan
. -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~Runsun Pan, PhD[EMAIL PROTECTED]Nat'l Center for Macromolecular Imaging http://ncmi.bcm.tmc.edu/ncmi/~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ -- http://mail.python.org/mailman/listinfo/python-list

Re: Using non-ascii symbols

2006-01-25 Thread Runsun Pan
. I believe many of theminput han characters much faster than inputting English. The side effectof this technology advancemight be that in the future the simplified chinese characters might deprecate, 'cos there's no need to simplify any more. -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~Runsun Pan, PhD

Re: Using non-ascii symbols

2006-01-26 Thread Runsun Pan
On 1/26/06, Terry Hancock [EMAIL PROTECTED] wrote: On Thu, 26 Jan 2006 01:12:10 -0600 Runsun Pan [EMAIL PROTECTED] wrote: Error) in python. I'd love to see if I can use han char for all those keywords like import, but it doesn't work. Yeah, I'm pretty sure we're talking about the future

Re: Mining strings from a HTML document.

2006-01-26 Thread Runsun Pan
tutorial. Let us know if it's still not clear. -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Runsun Pan, PhD [EMAIL PROTECTED] Nat'l Center for Macromolecular Imaging http://ncmi.bcm.tmc.edu/ncmi/ ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ -- http://mail.python.org/mailman/listinfo/python-list

Re: Using non-ascii symbols

2006-01-27 Thread Runsun Pan
-language-users probably be extremely nil, Think about this: there are still a whole lot of people who don't know English at all. If no such a 'Big5-specific' programming tool around, their chances of learning programming is completely rid off. -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Runsun Pan, PhD

A class with eventhandlers ?

2006-01-29 Thread Runsun Pan
('IndexError', IndexErrorHook) or, more specific, a function/method-specific error handling feature: c.load.onError( IOErrorHook) c.load( filename ) Is there such a mechnism around? If not, is it possible to make such a thing ? -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Runsun Pan, PhD [EMAIL PROTECTED

Re: OT: Re: Using non-ascii symbols

2006-01-31 Thread Runsun Pan
in Taiwan (at least currently). Maybe Norwegians have some sort of that mentality too ? Considering that they rather to elect people from the old foreign power ... On 1/29/06, Magnus Lycka [EMAIL PROTECTED] wrote: Runsun Pan wrote: The simplified chinese exists due to the call for modernization

A class with built-in doctest feature ?

2006-02-01 Thread Runsun Pan
I am proposing can provide customization on the fly feature to allow manipulations of the doctext at run-time. For example, C( ).toHtml( ) to convert the __doc__ to a webpage by converting it throu reStructuredText. -- ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ Runsun Pan, PhD [EMAIL PROTECTED] Nat'l

Re: tree data structure

2005-03-26 Thread runsun pan
couple of links for python tree: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/217212 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/201423 http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/305313 http://www.rexx.com/~dkuhlman/ --

Re: String Splitter Brain Teaser

2005-03-28 Thread runsun pan
For the fans of funtional programming: s='ATT/GATA/G' [y.split('/') for y in (' '.join([x for x in s]).replace(' / ', '/')).split()] [['A'], ['T'], ['T', 'G'], ['A'], ['T'], ['A', 'G']] -- http://mail.python.org/mailman/listinfo/python-list

Re: Newbie Shell Editor Question

2005-03-28 Thread runsun pan
whatever you type after the is either a statement that command python to do something (like print 'hello'), or an object that might or might not contain/return a value. The 'hello' you typed (the one that caused error) is simply a word. It is not a command, it is not a variable, it is not an

Re: list-comprehension and map question (simple)

2005-03-28 Thread runsun pan
I remember reading somewhere that the map, filter, reduce are much faster than list comp. -- http://mail.python.org/mailman/listinfo/python-list

Re: Overriding methods in classes you don't control

2005-03-28 Thread runsun pan
good point, andy. -- http://mail.python.org/mailman/listinfo/python-list

Re: instance vs class attributes

2005-03-29 Thread runsun pan
shy._Shy__mangled_method() Ive been mangled! Hi Brian, can you explain how this could possibly work? First of all it's not standard python usage, and secondly it's not working on my computer... pan -- http://mail.python.org/mailman/listinfo/python-list