How to run a Python program on Mac

Just open Terminal and enter the path to your script:

Example:

/Users/imac/venv/bin/python /Users/imac/PycharmProjects/Sql2/Test.py

It executes immediately. 

Comments

Popular posts from this blog

Installing Microsoft ODBC Driver to connect to SQL from Python on Mac OS X

Connection to MSSQL with Pythonan and pyodbc (on Mac OS X)

Installing PyCharm on Mac