>
> cmd = "sdptool -i hci0 search OPUSH > sdptool"
>
> working file standalone fine. but over stream not getting output.
>
> check link
>
> http://dpaste.com/684335/
>
>
In the the code above, as well as from dpaste link, you are already
redirecting to a file.
Try "cmd = "sdptool -i hci0 search OPU
On Mon, Jan 9, 2012 at 4:57 PM, Ganesh Kumar wrote:
>> > 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 termina
On 9 January 2012 16:57, Ganesh Kumar 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 f
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 ca
Ganesh Kumar writes:
> Hi sir,
>
> 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?
Verify that and then you can, if necessary, debug the regular
Hi sir,
I tried also subprocess module, But didn't got result, I tried the same
pattern. But didn't match the string over the stream.
> >>> import subprocess
> >>> s = subprocess.Popen(["head", "/etc/hosts"], stdout = subprocess.PIPE)
> >>> hosts_head = s.stdout.read()
> >>> print hosts_head
> 1
Ganesh Kumar writes:
> Hi Guys,
>
> I have created regular expression with os modules, I have created file
> sdptool to match the regular expression pattern, will print the result.
> I want without creating file how to get required output, I tried but i
> didn't get output correctly, over stream.
Hi Guys,
I have created regular expression with os modules, I have created file
sdptool to match the regular expression pattern, will print the result.
I want without creating file how to get required output, I tried but i
didn't get output correctly, over stream.
#! /usr/bin/python
import os,re
On Thu, Sep 15, 2011 at 3:31 PM, Saju M wrote:
> I also tried to change google search location through
> http://www.google.co.in/preferences?hl=en#loc , but getting error
> mechanize._response.httperror_seek_wrapper: HTTP Error 404: Not Found
Mechanize does not support any action done via Javascr
Hi,
I also tried to change google search location through
http://www.google.co.in/preferences?hl=en#loc , but getting error
mechanize._response.httperror_seek_wrapper: HTTP Error 404: Not Found
Here is the code i tried
import re
import cookielib
from mechanize import Browser
import mechanize
br
Hi,
> On Thu, Aug 5, 2010 at 4:32 PM, Rajeev Nair
> wrote:
>
> > Hi
> >
> > As part of the awareness building programme for PyCon India, i have been
> > doing the rounds of a few colleges in and around Bangalore, Reva
> > engineering
> > college has confirmed date for a crash course on August
I am interested, but the date/ time mentioned is bit difficult for me :(
On Thu, Aug 5, 2010 at 4:32 PM, Rajeev Nair wrote:
> Hi
>
> As part of the awareness building programme for PyCon India, i have been
> doing the rounds of a few colleges in and around Bangalore, Reva
> engineering
> college
Hi
As part of the awareness building programme for PyCon India, i have been
doing the rounds of a few colleges in and around Bangalore, Reva engineering
college has confirmed date for a crash course on August 7 Saturday ,from 2
pm - 4.30 pm .
Anyone would like to volunteer and do the session ?
There is a thread started by Antoine Pitrou in python-dev.
He suggests a slightly different approach to GIL implementation,
which uses a time based approach than counting opcodes
to acquire/release the GIL, which is the current implementation.
http://mail.python.org/pipermail/python-dev/2009-Octob
>>May be we Indians always think the other person to be better or
smarter. To quote from your own post:
>>"Comparatively i have very less exposure and exp as you people have"
I have attended Pycon and observed you
people(noufal,senthil,ShyamShankar,AB,Kenneth) talking
that's why i said.
Regard
Hi,
My name is Sunny Chilgod.
Currently there is opening for plone developers (0-1 years exp.) in my
company, www.abbotinfotech.com.
Anyone interested , can send thier resumes to schil...@gmail.com.
--
View this message in context:
http://www.nabble.com/Required-Plone-developers-tp24377221p2437
Thanks a lot guys, I have not yet tried it, got involved in something else, but
will try it shortly.It looks like this "IMPORT" will be replacing the
"#include" kind of behaviour in Python.Thanks,Deepak.On Sun, 7 Sep 2008
01:58:15 +0530 Bangalore Python Users Group - India wroteOn Sun, Sep 7, 20
On Sun, Sep 7, 2008 at 1:16 AM, Abhinav Sarkar <[EMAIL PROTECTED]> wrote:
>
> from modulename import methodname
>
> or to import all methods at once do:
>
> from modulename import *
Of course ... the first way is better form than the second for various
reasons ... so you might want to make that a
David Elsen wrote:
Hi Venkata,
Thanks.
I could do this.
Import my first file as module and then using all my methods
. format, but I would like to include my
file and want to use just as not as
..
Hope I am clear.
Thanks,
Deepak
On Sat, Sep 6, 2008 at 5:45 AM, venkata subramanian
<[EMAIL
Hi Venkata,
Thanks.
I could do this.
Import my first file as module and then using all my methods
. format, but I would like to include my
file and want to use just as not as
..
Hope I am clear.
Thanks,
Deepak
On Sat, Sep 6, 2008 at 5:45 AM, venkata subramanian <
[EMAIL PROTECTED]> wrote:
> Hi
Hi Deepak,
You can do this.
It is using the keyword called import.
The basic syntax is
import
example: import RegDesc
then, you can do RegDesc.foo(bar)
My friend had the same problem. He read the tutorial till
one point and missed the part where they talk about modules
and packages. So
Hello,I am new to Python and need some help. Can someone please tell me whether
I can use the Python Module like include file? Is there a way to use the
"include" file in Python? If I try to include a file with "# include", that
line is treated as comment. What is the directive to include the in
22 matches
Mail list logo