Spaces:
Sleeping
Sleeping
File size: 196 Bytes
90776a1 | 1 2 3 4 5 6 7 8 9 10 | from dotenv import load_dotenv
import os
load_dotenv()
key = os.getenv('OPENWEATHER_API_KEY')
if key:
print('Key found: ' + key[:6] + '...')
else:
print('Key is None - .env not loading') |