Shell to Py - Python for Sys Admins / File handling

Read a file (Textfile):

with open("filename") as file:
        print(file.read())

Write a file:

with open("filename","w") as file:
        file.write("Test")

Basics out of the way.

TODO append/replace/… seek binary