<P>Hey, I am new to Python world. I wrote a simple program but got error. Could someone help me fix this? Thanks.
<P>import sys,os,string
<P>pid = os.getpid()
<P>filename = ".ld.mon." + str(pid)
<P>print filename
<P>       ^^^^^^^^^^Name error: name "filename" is not defined.
<P>Do I really need to define "filename" before use it? I tried char *filename but still didn't work. Thanks for the help.
<P> 
<P> 
<P> </P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/careers/mailsig/*http://www.hotjobs.com ">HotJobs</a> - Search new jobs daily now