deluge/sandbox/mmap_server.py
2006-12-06 03:51:33 +00:00

9 lines
171 B
Python
Executable File

#!/usr/bin/env python2.4
fileob = open('xxx','w')
while True:
data = raw_input('Enter some text:')
fileob.seek(0)
fileob.write(data)
fileob.truncate()
fileob.flush()