Option1: System Shell1. Create a Python script using any text editor: text.py 2. Open Mac terminal and set to the same directory 3. Run <code>python3 test.py<code> output: Option 2 : Ipython Shell1. Start ipython shell: run ipython command 2. Pass script name to %run: