-
Notifications
You must be signed in to change notification settings - Fork 0
Using Scripts
See the main branch of our github to find all shared scripts that have been published. The specific usage of each script is often noted and explained on a certain page of the wiki, so simply searching the script name can usually locate the context. Many of them are self-explanatory. Most are written in either Python or bash.
Bash scripts can be run one of two ways - either executable or by calling the script in Terminal. To see if a script is executable, simply double-click it. If it opens a Terminal dialog, you're good to go. If it opens in a text or code editor, it is not executable and needs to be called. To call a script, open Terminal and use this command: bash /path/to/script.sh
On most Mac machines, our Python scripts can be called via this command in Terminal: python3 /path/to/script.py. Sometimes, Python environments can become jumbled and manipulated by other system tools and utilities, so it can be handy to have a virtual environment like PyCharm to run Python scripts.