uv/scripts/workspaces/albatross-in-example/check_installed_albatross.py

12 lines
174 B
Python

from albatross import fly
try:
from bird_feeder import use
raise RuntimeError("bird-feeder installed")
except ModuleNotFoundError:
pass
fly()
print("Success")