wcurrent and daily weather added
This commit is contained in:
parent
74ae981465
commit
7ab6a0a24b
@ -1,3 +1,3 @@
|
|||||||
symbol,name,base,current,24hr change
|
symbol,name,base,current,24hr change
|
||||||
BTC,bitcoin,usd,35686,-0.19855074369701814
|
BTC,bitcoin,usd,35668,-0.37786061371520613
|
||||||
ETH,ethereum,gbp,1923.88,1.8532746746620032
|
ETH,ethereum,gbp,1923.94,1.8341326495198176
|
||||||
|
|
@ -1 +1 @@
|
|||||||
{"main_weather": "Clouds", "description": "overcast clouds", "temp": 18.72, "min_temp": 15.77, "max_temp": 20.06, "feels_like": 18.42, "humidity": 68, "clouds": 100, "wind_speed": 2.44, "wind_direction": 228, "visibility": 10000, "uv": 0}
|
{"main_weather": "Clouds", "description": "overcast clouds", "temp": 18.69, "min_temp": 15.77, "max_temp": 20.06, "feels_like": 18.44, "humidity": 70, "clouds": 100, "wind_speed": 2.44, "wind_direction": 228, "visibility": 10000, "uv": 0}
|
@ -1 +1 @@
|
|||||||
[{"main_weather": "Clouds", "description": "few clouds", "min_temp": 12.92, "max_temp": 22.22}, {"main_weather": "Clouds", "description": "scattered clouds", "min_temp": 12.68, "max_temp": 22.5}, {"main_weather": "Clouds", "description": "few clouds", "min_temp": 13.04, "max_temp": 23.87}, {"main_weather": "Clouds", "description": "scattered clouds", "min_temp": 14.72, "max_temp": 24.47}, {"main_weather": "Clear", "description": "clear sky", "min_temp": 15.51, "max_temp": 25.8}, {"main_weather": "Clear", "description": "clear sky", "min_temp": 16.6, "max_temp": 28.11}, {"main_weather": "Clouds", "description": "few clouds", "min_temp": 16.35, "max_temp": 27.24}, {"main_weather": "Rain", "description": "light rain", "min_temp": 17.54, "max_temp": 28.74}]
|
[{"main_weather": "Clouds", "description": "few clouds", "min_temp": 12.92, "max_temp": 22.21}, {"main_weather": "Clouds", "description": "scattered clouds", "min_temp": 12.67, "max_temp": 22.49}, {"main_weather": "Clouds", "description": "few clouds", "min_temp": 13.03, "max_temp": 23.86}, {"main_weather": "Clouds", "description": "scattered clouds", "min_temp": 14.72, "max_temp": 24.46}, {"main_weather": "Clear", "description": "clear sky", "min_temp": 15.5, "max_temp": 25.79}, {"main_weather": "Clear", "description": "clear sky", "min_temp": 16.59, "max_temp": 28.09}, {"main_weather": "Clouds", "description": "few clouds", "min_temp": 16.34, "max_temp": 27.22}, {"main_weather": "Rain", "description": "light rain", "min_temp": 17.53, "max_temp": 28.72}]
|
@ -1 +1 @@
|
|||||||
07/06/2021 16:02:07
|
07/06/2021 16:09:41
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
name,current,opening
|
name,current,opening
|
||||||
MSFT,253.81,249.98
|
MSFT,253.81,249.98
|
||||||
NFLX,494.66,492.917
|
NFLX,494.66,492.9169
|
||||||
GOOG,2466.09,2451.32
|
GOOG,2466.09,2451.32
|
||||||
|
|
BIN
display_gif
BIN
display_gif
Binary file not shown.
Before Width: | Height: | Size: 821 B After Width: | Height: | Size: 747 B |
BIN
final1.ppm
BIN
final1.ppm
Binary file not shown.
@ -156,7 +156,8 @@ class StockTicker():
|
|||||||
def scrollImageTransition(self, image_files, offset_x = 0, offset_y = 0, stocks = True):
|
def scrollImageTransition(self, image_files, offset_x = 0, offset_y = 0, stocks = True):
|
||||||
# use two image files and switch between them with a seemless transition
|
# use two image files and switch between them with a seemless transition
|
||||||
current_img = 1
|
current_img = 1
|
||||||
|
image1 = self.openImage(image_files[0])
|
||||||
|
image2 = self.openImage(image_files[1])
|
||||||
kill = False
|
kill = False
|
||||||
while True:
|
while True:
|
||||||
|
|
||||||
@ -204,7 +205,7 @@ class StockTicker():
|
|||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
pass
|
pass
|
||||||
|
if stocks:
|
||||||
image1.close()
|
image1.close()
|
||||||
image2.close()
|
image2.close()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user