[BangPypers] re module help

Asokan Pichai pasokan at gmail.com
Mon Jan 9 12:35:46 CET 2012


On 9 January 2012 16:57, Ganesh Kumar <bugcy013 at gmail.com> wrote:

> Hi.
>
> >
> > > I tried also subprocess module, But didn't got result, I tried the same
> > > pattern. But didn't match the string over the stream.
> >
> > Are you sure you're getting the output from the command in your string?
> >
>
> I got output from terminal command working fine
>
>
> > Verify that and then you can, if necessary, debug the regular
> >
> regular expression also working fine. i checked in stored file checking (I
> mention sdptool file)
>
>
> cmd = "sdptool -i hci0 search OPUSH > sdptool"
>
> working file standalone fine. but over stream not getting output.
>
> check link
>
> http://dpaste.com/684335/
>
> I don't want read external file. I want over program i want get
> output, please guide me. how to get output.
>
>
> -Ganesh.
>
> Did I learn something today? If not, I wasted it.
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>

A fleeting look; so may be wrong

Is your return statement wrongly indented?

-- 
Asokan Pichai
*-------------------*
We will find a way. Or, make one. (Hannibal)


More information about the BangPypers mailing list