tinypy: file reading support.

git-svn-id: svn://kolibrios.org@2001 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
jaeger
2011-07-08 19:48:44 +00:00
parent 3dee3b0598
commit 42affd404a
6 changed files with 11 additions and 5 deletions

View File

@@ -1,2 +1,7 @@
import kolibri
if __name__=="__main__":
print("ok!")
f = kolibri.open("/hd0/1/tinypy/test.txt")
print(f.size)
print(f.read())
f.close()