"Miki Tebeka" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Colin,
>
> > I have a function
> > def printHello():
> >     fp = open('file','w')
> >     fp.write('hello')
> >     fp.close()
> >
> > I would like to call that function using spawn or fork. My questions
are:
> >
> > 1. Which should I use
> spawn and fork are very different functions. Read the documentation on
> each.
> Note the "fork" is available only in Unix like systems.
>
> > 2. How do I call that function if it is defined in the same file.
> Just call it.
>
> def foo():
>     print 1
>
Thanks, but can I call it using spawn?



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to