From: Mark W. A. <sl...@do...> - 2005-01-21 22:20:39
|
On Fri, Jan 21, 2005 at 12:09:21PM -0800, Travis Bear wrote: > Mark, > > This is a linux machine I'm working on (Fedora Core 3). The registry I > was referring to was the Jython registry. If I am thinking about > signal in the right way (SIGHUP, SIGKILL, etc) then there is no > equivalent in the Windows world as far as I know. > > You say getpass and signal are standard python libraries. I found > getpass in /usr/lib/python2.3, but where does signal usually live? As > I said, a file search for "*signal*" didn't turn up anything that > looked useful. Hmm... mwa@cougar:~$ python Python 2.3.4 (#2, Jan 5 2005, 08:24:51) [GCC 3.3.5 (Debian 1:3.3.5-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import signal >>> signal.__file__ Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'module' object has no attribute '__file__' >>> Looks like it's a builtin. Can you just import it? mwa -- Mark W. Alexander sl...@do... The contents of this message authored by Mark W. Alexander are released under the Creative Commons Attribution-NonCommercial license. Copyright of quoted materials, if any, are retained by the original author(s). http://creativecommons.org/licenses/by-nc/2.0/ |