HOW DO I ...
Name:
Anonymous
2007-05-16 9:29
ID:qCm4fnlD
make a Python script write its pid to a file?
Name:
Anonymous
2007-05-16 9:43
ID:k8x0OzNK
I won't tell you. I will only tell you that it took me five seconds to find that out via Google.
Name:
Anonymous
2007-05-16 10:57
ID:2REXw+q7
import os
try:
open('anus','w').write(os.getpid())
except ForcedIndentationException:
pass
Name:
Anonymous
2007-05-16 11:11
ID:qCm4fnlD
>>2
I'm sorry.
>>3
Thank you.
Name:
Anonymous
2007-05-16 11:13
ID:k8x0OzNK
>>4
You're still an idiot. Seriously, try typing "python current pid" into Google.
Name:
Anonymous
2007-05-16 13:27
ID:XBOUg2cc
YOU ARE ALL IDIOTS FOR USING PYTHON
ONE WORD, FORCED INDENTATION OF THE CODE, THREAD OVER.
Name:
Anonymous
2007-05-16 14:03
ID:2REXw+q7
>>6
You're an idiot for being stupid.
Name:
Anonymous
2007-05-16 14:05
ID:74gR5/Cm
>>5
I also wanted to know how to write it to a file. I know absolutely nothing about python.
>>6
Well, I found this great fake dns server script, and it was written in python.
Name:
Anonymous
2007-05-16 14:23
ID:k8x0OzNK
>>8
I kind of feel even sadder that someone helped you.
Name:
Anonymous
2007-05-17 3:02
ID:7JtgN4Aq
>>9
You shouldn't. This helps me greatly.
Name:
sage
2007-05-17 10:54
ID:JqLjW3im
>>10
That's why he's so sad.
Name:
Anonymous
2007-05-17 10:55
ID:Heaven
Name:
Anonymous
2008-04-12 9:49
shot web?
Name:
Anonymous
2008-04-12 9:51
I remember this thread. It wasn't a very good one.
Newer Posts