Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
simonw
· 2y ago · 0 comments
Can you put a shebang line in a .sh data loader that points to the full path to bin/python within the virtual environment directory?
Comments
[–]
timmattison
2y ago
You can. But then the only time it realizes that the code has been updated is when you update the script or touch it. It’s a minor annoyance but it adds up when making lots of changes. Periodically deleting the cache works too but also annoying.