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
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
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
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"
>
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
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
FIX message is the "Financial information Exchange" protocol
messages...
any 3rd libs we have?
--
http://mail.python.org/mailman/listinfo/python-list