Humidity-Temperaturesensor-.../venv/lib/python3.6/site-packages/dotenv/compat.py
2019-05-23 22:58:51 +02:00

10 lines
227 B
Python

import sys
try:
from StringIO import StringIO # noqa
except ImportError:
from io import StringIO # noqa
PY2 = sys.version_info[0] == 2
WIN = sys.platform.startswith('win')
text_type = unicode if PY2 else str # noqa