mirror of
https://github.com/elliotnunn/machfs.git
synced 2024-11-28 12:51:43 +00:00
Readme: I got SimpleText's creator wrong!
This commit is contained in:
parent
d4536441e2
commit
da3091668e
@ -23,7 +23,7 @@ v['Folder']['File'] = File()
|
|||||||
v['Folder']['File'].data = b'Hello from Python!\r'
|
v['Folder']['File'].data = b'Hello from Python!\r'
|
||||||
v['Folder']['File'].rsrc = b'' # Use the macresources library to work with resource forks
|
v['Folder']['File'].rsrc = b'' # Use the macresources library to work with resource forks
|
||||||
v['Folder']['File'].type = b'TEXT'
|
v['Folder']['File'].type = b'TEXT'
|
||||||
v['Folder']['File'].creator = b'TTXT' # Teach Text/SimpleText
|
v['Folder']['File'].creator = b'ttxt' # Teach Text/SimpleText
|
||||||
|
|
||||||
with open('FloppyImage.dsk', 'wb') as f:
|
with open('FloppyImage.dsk', 'wb') as f:
|
||||||
flat = v.write(
|
flat = v.write(
|
||||||
|
Loading…
Reference in New Issue
Block a user