I suspect that running uv run -m scripts.importmylist might solve your problem. Notice the -m or --module flag, which runs a python module. Also notice the dot instead of the slash and the lack of the .py ending.
uv run -m scripts.importmylist
-m
--module
.py