You could use read directly on the popen call to negate having to write to a 
file

output = os.popen(“sdptool -i hci0 search OPUSH“).read()

Bodsda
Sent from my BlackBerry® wireless device

-----Original Message-----
From: Ganesh Kumar <[email protected]>
Sender: [email protected]
Date: Mon, 9 Jan 2012 14:47:46 
To: <[email protected]>
Subject: [Tutor] re module help

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to