/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

koaning.io
| | www.janmeppe.com
2.7 parsecs away

Travel
| | In this blog post, I'll tell you how to add a new kernel to your Jupyter notebook in just 3 simple steps.
| | kishstats.com
2.3 parsecs away

Travel
| | Autoenv will automatically execute certain commands whenever you "cd" into a directory containing a ".env" file. This is an excellent command-line tool for e...
| | www.silveiraneto.net
2.7 parsecs away

Travel
| |
| | www.paepper.com
23.5 parsecs away

Travel
| When you are prototyping and developing small scripts that you keep running, it might be annoying that they quit when an error occurs. If you want very basic robustness against these crashes, you can at least use a bash script to automatically restart your script on error. The tool to use here is called until and makes this a breeze. Let's use a dumb example Python script called test.py: import time while True: print('Looping') time.sleep(5) raise Exception('Exception in loop') It is in a loop and crashes every 5 seconds, so we can verify that our restart procedure works as expected.