Actually, what my comment wass supposed to say was "Checking the
modification time of the file the Thread class was defined in", but I'm
sure you understood what I meant. ;-)
Orlando Vazquez wrote:
[EMAIL PROTECTED] wrote:
Assume I am using a class Foo. I want to find out the mo
name = vars()[threading.Thread.__module__].__file__
>>>
>>> mtime = os.path.getmtime(module_filename)
>>>
>>> print time.ctime(mtime)
Sun Nov 14 20:29:42 2004
I hope that answer's your question :-)
--
Orlando Vazquez
--
http://mail.python.org/mailman/listinfo/python-list
nguage is just domain-specific factors, e.g. if
you need the extension language to be easily used non-programmers.
Just a thought.
--
Orlando Vazquez
--
http://mail.python.org/mailman/listinfo/python-list
Tim Daneliuk wrote:
For some reason, I am having the hardest time doing something that should
be obvious. (Note time of posting ;)
Given an arbitrary string, I want to find each individual instance of
text in the form: "[PROMPT:optional text]"
I tried this:
y=re.compile(r'\[PROMPT:.*\]')
Whic