More about simple question
Joerg Woelke
dvass at felis.uni-freiburg.de
Tue Nov 5 07:52:48 EST 2002
Bengt Richter wrote:
>
> On Mon, 4 Nov 2002 21:11:52 -0800 (PST), xinghua shi <csshi99 at yahoo.com> wrote:
>
> >--0-1493159574-1036473112=:21756
> >Content-Type: text/plain; charset=us-ascii
> >
> >
> >>
> >> import sys,os,string
> >>
> >> pid = os.getpid()
> >>
> >> filename = ".ld.mon." + str(pid)
Maybe you are interested in os.tempnam, os.tmpfile or
os.tmpnam?
[ snip ]
> Regards,
> Bengt Richter
HTH, J"o!
--
sigfault
More information about the Python-list
mailing list