>>>>> gargonx <[EMAIL PROTECTED]> (g) wrote: >g> Still no return of string. The null testing is not really the deal. >g> that could be replaced with anything EG:
>g> def ReturnMethod(request, x): >g> if request is 'random': You shouldn't test with `is' but with `=='. >g> return x >g> else: print "No String for you...False!" >g> def SendMethod(request): >g> xstring = "Some text" >g> ReturnMethod(request, xstring) >g> SendMethod('random') -- Piet van Oostrum <[EMAIL PROTECTED]> URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list