Setting up Python, Pip, Virtual Env, Xcode on Mac

Python with Xcode:

I figured it out! The steps look lengthy but it's not that bad at all.
  1. Open Xcode 4.
  2. In the menu bar, click "File" -> "New" -> "New Project…".
  3. Select "Other" under "Mac OS X".
  4. Select "External Build System" and click "Next".
  5. Enter the product name.
  6. For the "Build Tool" field, type in "/usr/local/bin/python3" for Python 3 or "/usr/bin/python" for Python 2 without the quotes and then click "Next".
  7. Choose where to save it and click "Create".
  8. In the menu bar, click "File" -> "New" -> "New File…".
  9. Select "Other" under "Mac OS X".
  10. Select "Empty" and click "Next".
  11. Navigate to the project folder (it will not work, otherwise), enter the name of the Python file (include the ".py" extension), and click "Save".
  12. In the menu bar, click "Product" -> "Edit Scheme…".
  13. Click "Run" in the left column.
  14. In the "Info" tab, click the "Executable" field and then click "Other…".
  15. Navigate to the executable from Step 6. You may need to use ⇧⌘G to type in the directory if it is hidden.
  16. Select the executable and click "Choose".
  17. For the "Debugger" field, select "None".
  18. In the "Arguments" tab, click the "Base Expansions On" field and select the target you created earlier.
  19. Click the "+" icon under "Arguments Passed On Launch". You may have to expand that section by clicking on the triangle pointing to the right.
  20. Type in "$(SOURCE_ROOT)/" without the quotes and then the name of the Python file you want to test. Remember, the Python program must be in the project folder. Otherwise, you will have to type out the full path here.
  21. Click "OK".
  22. Start coding.
Say, "Hello, code completion and syntax highlighting." Note that it's not as advanced as it is with C, C++, or Objective-C but it is definitely better than using IDLE.