Name:
Anonymous
2008-05-18 15:53
import prog
prog.name = 'anonymous'
prog.email = 'sage'
post = '''
Hello, /prog/
This is being posted by a python program.
'''
thread = prog.newthread('Python',post)
thread.post('This is too.\n\n[b]Bold[/b]')
Name:
Anonymous
2008-05-18 20:01
OP here. V0.2
import prog
import time
subject = 'LoL Python.'
name = 'Anonymous'
email = 'sage'
content = '''
Hello, /prog/
This is being posted by a [i]python[/i] program.
'''
thread = prog.newthread(subject,name,email,content)
print 'Thread Created.'
print 'ID:',thread.id
print 'Content:'
print content
time.sleep(30)
content = '[code]lol dongs'
thread.post(name,email,content)
print 'posted:'
print content
while thread.posts < 1000:
thread.post(thread,name,email,'READ SICP')
print 'posted:'
print content
time.sleep(25)
[/code]