mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-09 10:03:40 +00:00
9 lines
171 B
Python
Executable File
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() |