Archive - E

Sunday, August 14, 2016

Python - Mac Air

http://www.macworld.co.uk/how-to/mac/coding-with-python-on-mac-3635912/
Python 3 is the newer version of Python, so you can be forgiven for assuming that it's the best version. "Best" is pretty relative, though, and although Python 3 introduces a lot of new features, it also introduced a lot of incompatibilities.
Because coding in Python relies on using libraries of code developed by other people, this isn't a good thing.
Also, we've found that the major learning programs, from MIT to Codecademy, all use Python 2 to explain coding. These programs won't always work if you're using Python 3. So until you know what you're doing, stick with Python 2.

This page seems to give a lot of the same instructions as the page below, The Hitchhiker's Guide to Python.

---------------------------------------

http://docs.python-guide.org/en/latest/starting/install/osx/

This opinionated guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.

The version of Python that ships with OS X is great for learning but it’s not good for development. The version shipped with OS X may be out of date from the official current Python release, which is considered the stable production version.


----------------------------------

16-8-15
Installed Xcode 7.3.1

------------------------------------------

https://developer.apple.com/news/?id=09222015a


To verify the identity of your copy of Xcode run the following command in Terminal on a system with Gatekeeper enabled:
spctl --assess --verbose /Applications/Xcode.app
where /Applications/ is the directory where Xcode is installed. This tool performs the same checks that Gatekeeper uses to validate the code signatures of applications. The tool can take up to several minutes to complete the assessment for Xcode.
The tool should return the following result for a version of Xcode downloaded from the Mac App Store:
/Applications/Xcode.app: accepted
source=Mac App Store

and for a version downloaded from the Apple Developer web site, the result should read either
/Applications/Xcode.app: accepted
source=Apple

or
/Applications/Xcode.app: accepted
source=Apple System



16-8-15 I did this, but terminal is not returning anything. Kinda stuck...
After several minutes, it says:

/Applications/Xcode.app: accepted
source=Mac App Store

--------------------------------------

16-8-15
Installed Homebrew.
By typing:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Installed version confirmed:
brew --version
Homebrew 0.9.9 (git revision 4309; last commit 2016-08-14)
Homebrew/homebrew-core (git revision 8e02; last commit 2016-08-14)

Installed pip by typing:
sudo easy_install pip

pip --version
pip 8.1.2 from /Library/Python/2.7/site-packages/pip-8.1.2-py2.7.egg (python 2.7)
 

-----------------------
Installed SublimeText because it's #3 on SERP for "python text editor for mac"

Also:
Sublime Text: This is my personal favourite. You can download and use it for free, although it'll occasionally nag you into paying for it. A slick interface that's easy on the eyes with great formatting control.
http://www.macworld.co.uk/how-to/mac/coding-with-python-on-mac-3635912/

Sublime Text is available for OS X, Windows and Linux.

----------------------

ddd

Posted by Paul at 5:30 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2016 (26)
    • ▼  August (24)
      • How to get started with AI (Artificial Intelligence)
      • Torch for Mac OS X
      • 14 Best Podcast Episodes for Men | The Art of Manl...
      • Tinder
      • If you shop at Walmart, save your receipt and scan...
      • Python - Virtual Environments
      • Mac video edit - What options are available to _lo...
      • Macbook Air
      • Python - Mac Air
      • The beauty of data visualization - David McCandless
      • Okinawa, Japan Travel
      • Machine Learning Exercises In Python, Part 1
      • Iceman, Wim Hof
      • GitHub For Beginners
      • Wikipedia in 100 MB file
      • 한글 Korean input problem in Firefox, Mac OS X
      • Philippines
      • Chatbot info
      • List of 30+ Summarizer APIs, libraries, and softwa...
      • Linux on a Mac, via Parallels VM - good tips
      • Mac keyboard shortcuts
      • TexLexAn Analyze, Classify and Summarize any text.
      • Drop Shipping - Why It's Nearly Impossible To Stop...
      • The Prisoner Workout: Killer Bodyweight Exercises ...
    • ►  July (2)
  • ►  2015 (1012)
    • ►  November (13)
    • ►  October (11)
    • ►  September (4)
    • ►  August (1)
    • ►  July (14)
    • ►  June (201)
    • ►  May (74)
    • ►  April (185)
    • ►  March (227)
    • ►  February (178)
    • ►  January (104)
  • ►  2014 (1037)
    • ►  December (8)
    • ►  November (196)
    • ►  October (168)
    • ►  September (79)
    • ►  August (86)
    • ►  July (164)
    • ►  June (185)
    • ►  May (109)
    • ►  April (26)
    • ►  March (16)
  • ►  2013 (500)
    • ►  October (62)
    • ►  September (157)
    • ►  August (133)
    • ►  July (148)
  • ►  2011 (4)
    • ►  December (4)

Followers

Simple theme. Powered by Blogger.