User talk:Simon/Machine reading

From XPUB & Lens-Based wiki
< User talk:Simon
Revision as of 14:40, 20 June 2020 by Simon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Illustration of an RFID tag

Reading files

For Python to read a file:

with open('README.md', 'r') as txt:
    txt_content = txt.read() 
print(txt_content)