Update relative imports

This commit is contained in:
Chris Proctor 2024-10-21 10:42:53 -04:00
parent 973c5b5c62
commit 47b8a5b675
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
#
# It's your job to implement this function.
from weather_apis import (
from weather.weather_apis import (
geocode_location,
estimate_location,
get_weather_office,
@ -37,4 +37,4 @@ def print_weather(location=None, metric=False, verbose=False):
print(forecast["name"],"temperature of", forecast["temperature"], "wind speed of", forecast["wind_speed"], "out of the ", forecast["wind_direction"],"conditions of", forecast["description"]) # YOUR CODE HERE!
print()
print_weather()
print_weather()

View File

@ -9,7 +9,7 @@
# You don't need to do anything with thie file.
from argparse import ArgumentParser
from weather import print_weather
from weather.weather import print_weather
def weather_cli():
"""Provides a command-line interface for weather.