Can I start asynchronous threads in .pythonrc?
Aahz Maruch
aahz at panix.com
Mon Jun 25 14:37:11 EDT 2001
In article <etdg0coh202.fsf at lola-granola.mit.edu>,
Alex <new_name at mit.edu> wrote:
>
>I have some slightly time consuming administrative stuff that I'm doing
>to my source tree each time I start python. I'm running it in my
>.pythonrc file, which means there's a delay of a few seconds before I
>get the python prompt. Is there any way to get stuff in my .pythonrc to
>run in the background?
Why not just create a cron job? There's no intrinsic reason you
couldn't use threads, but I'm not sure this is a good use.
--
--- Aahz <*> (Copyright 2001 by aahz at pobox.com)
Hugs and backrubs -- I break Rule 6 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista
"Those who do not remember the past are condemned to repeat it."
More information about the Python-list
mailing list