File size: 232 Bytes
498f80b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import logging

logger = logging.getLogger(__name__)


def load(path):
    try:
        with open(path) as fh:
            return fh.read()
    except Exception:
        return None


if __name__ == "__main__":
    load("data.txt")