Le Mon, 18 May 2009 08:19:21 +0100,
"Alan Gauld" <[email protected]> s'exprima ainsi:

> If 
> you never, or rarely, have concurrent accesses then using 
> a text file might work. 

That's what I would do. New tasks appended --> oldest one = first one (first 
line, probably).
For access sharing, then you can have a very basic

def accessDataFile(thingToDo):
   while True:
      try:
         thingToDo
         break
      Except ...:
         wait(a_bit)

Denis
------
la vita e estrany
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to