examples named

This commit is contained in:
cube
2026-05-30 21:43:47 +01:00
parent 14347d7633
commit 1e665d45b7
4 changed files with 18 additions and 6 deletions

14
example_situation.py Normal file
View File

@@ -0,0 +1,14 @@
from pcslive import LiveStats
import time
stats = LiveStats()
# if there are live races...
if len(stats.races) > 0:
race = stats.races[0]
race.get_situation_long()
# whats the situation? :)
for x in race.situation_long:
print(x, race.situation_long[x])