On 08/24/2012 12:02 AM, 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
Yes, I'd found that, but that requires a file descriptor rather than a file object - and I haven't advanced to file descriptors yet.... ;) _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor