Wednesday, February 7, 2018

python everywhere

Python seems like the hot thing. I have been learning and experimenting.

I use The following package manager for macOS:  https://brew.sh/

 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 

use example: - brew install python

anaconda https://www.youtube.com/watch?v=8JiWEZEnJ40

Install anaconda:

  • https://repo.continuum.io/archive/Anaconda3-4.2.0-Windows-x86_64.exe 
  • https://repo.continuum.io/archive/Anaconda3-4.2.0-MacOSX-x86_64.pkg


condo update anaconda

to install opencv:

conda install --channel https://conda.anaconda.org/menpo opencv3

confirm the install from python command line
        import cv2
        cv2.__version__

spyder is an IDE for perl - for macOs from the cmd line enter to start it:
            spyder&

console : print "hello"
editor: run by select f9
inspector : debugging

see spyder perl tutorial https://www.youtube.com/watch?v=J5GevIHNctM


http://www.numpy.org/
  • https://www.w3resource.com/python-exercises/numpy/index.php

  https://www.scipy.org


active state
python tutorial https://pythonprogramming.net/introduction-to-python-programming/

https://www.youtube.com/watch?list=PLQVvvaa0QuDe8XSftW-RAxdo6OmaeL85M&time_continue=163&v=IX6mc9l6tY4

https://www.youtube.com/watch?v=5aP9Bl9hcqI

https://docs.cs50.net/2016/fall/notes/8/week8.html
https://www.cs.cornell.edu/courses/cs1110/2017fa/lectures/index.php 
python class http://stanfordpython.com/#lecture
http://arc-ts.umich.edu/mini-course-introduction-to-python-sept-11-14/ python https://stanford.edu/~schmit/cme193/ python

https://github.com/wgong/py4kids

1 comment: