Running a Python function in BASH – Ubuntu
I usually run Python on Google Colab, however I need to run a script in the terminal in Ubuntu. I have the following script test.py: #!/usr/bin/env python # testing a func def hello(x): if x > 5: return "good" else:…