Re: about soaplib demo's time latency

2011-04-14 Thread Stephen.Wu
On Apr 14, 9:39 pm, Chris Angelico wrote: > On Thu, Apr 14, 2011 at 11:30 PM, Stephen.Wu <54wut...@gmail.com> wrote: > > Thanks Chris. > > I recheck the logic line by line and I find it is this sentence drag > > speed down :  hello_client = Client('http://localhost

Re: about soaplib demo's time latency

2011-04-14 Thread Stephen.Wu
On Apr 14, 5:18 pm, Chris Angelico wrote: > On Thu, Apr 14, 2011 at 6:43 PM, Stephen.Wu <54wut...@gmail.com> wrote: > > I just follow the instructions below > > -http://soaplib.github.com/soaplib/2_0/pages/helloworld.html > > to establish a soap server. After starting

about soaplib demo's time latency

2011-04-14 Thread Stephen.Wu
I just follow the instructions below - http://soaplib.github.com/soaplib/2_0/pages/helloworld.html to establish a soap server. After starting the server, everytime I run the client script, I fetch the response nearly 20 seconds afterward. Why this happen? I just want the server send response asap

Re: how long a Str can be used in this python code segment?

2010-02-01 Thread Stephen.Wu
On Feb 1, 5:26 pm, Chris Rebert wrote: > On Mon, Feb 1, 2010 at 1:17 AM, Stephen.Wu <54wut...@gmail.com> wrote: > > tmp=file.read() (very huge file) > > if targetStr in tmp: > >    print "find it" > > else: > >    print "not find" >

how long a Str can be used in this python code segment?

2010-02-01 Thread Stephen.Wu
tmp=file.read() (very huge file) if targetStr in tmp: print "find it" else: print "not find" file.close() I checked if file.read() is huge to some extend, it doesn't work, but could any give me some certain information on this prolbem? -- http://mail.python.org/mailman/listinfo/python-li

which one is faster?

2010-01-29 Thread Stephen.Wu
str.find(targetStr) str.index(targetStr) with exception str.count(targetStr) targetStr in str which is the fastest way to check whether targetStr is in str? thanks all -- http://mail.python.org/mailman/listinfo/python-list

is there any FIX message handle modules in Python?

2009-11-18 Thread Stephen.Wu
FIX message is the "Financial information Exchange" protocol messages... any 3rd libs we have? -- http://mail.python.org/mailman/listinfo/python-list