[Tutor] Python working with Bash....arrrggggh!

Mark Lawrence breamoreboy at yahoo.co.uk
Fri Aug 24 10:28:06 CEST 2012


On 24/08/2012 08:02, Steven D'Aprano wrote:
> On 24/08/12 16:27, Ray Jones wrote:
>
>> I am forever confused, however, on which methods can be found where. I
>> just spent quarter of an hour searching in sys,* os.*, and shutil.*. for
>> a 'kill' command that I knew I'd seen before....I found it hidden in
>> subprocess.Popen. Arrrgggh. These various imports are going to drive me
>> to drink!
>
> Possibly you've already started the drive? *wink*
>
> There is an os.kill.
>
>
> http://docs.python.org/library/os.html#os.kill
>
>

Would have taken the car over the cliff if it had been Java :)

-- 
Cheers.

Mark Lawrence.



More information about the Tutor mailing list