brennerm / PyTricks

Collection of less popular features and tricks for the Python programming language
MIT License
3.07k stars 503 forks source link

Add implementation for simple file read-write #68

Closed cbrown132 closed 9 years ago

cbrown132 commented 9 years ago

Using "with open() as :" statements to do simple read/write tasks on input data. Example shown can be modified easily in order to get desired output format.

brennerm commented 9 years ago

IMO this is already well known. Therefore I'd not like to add this. Thanks anyways :)