Skip to content

Instantly share code, notes, and snippets.

@kovid-rathee
Created June 2, 2017 09:28
Show Gist options
  • Save kovid-rathee/34996c30f6442ee96888923bcaad32e8 to your computer and use it in GitHub Desktop.
Save kovid-rathee/34996c30f6442ee96888923bcaad32e8 to your computer and use it in GitHub Desktop.
How to get started with Python on a Mac machine.
1. Install pip on your system.
-- curl https://bootstrap.pypa.io/ez_setup.py -o - | sudo python
-- sudo easy_install pip
2. Check python version
-- python --version
3. Install PyCharm
-- https://www.jetbrains.com/pycharm/
-- Create a project in PyCharm -- Select an environment if you have multiple Python installations
4. Install Libraries
-- pip install MySQL-python (for MySQL only)
-- pip install SQLAlchemy (for a number of databases)
-- pip install pandas
5. Basic Exercises
-- Print numbers, strings, addition, subtraction, division etc.
-- Explore data types -- lists, dictionaries etc.
-- MySQL to pandas dataframe - https://gist.github.com/mvaz/2006493
-- Watch this - https://www.datacamp.com/courses/introduction-to-relational-databases-in-python (I'll also take this course)
-- And this - https://www.youtube.com/watch?v=1uVWjdAbgBg
Will add more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment