Getting python path associated with default python version:
python -c 'import sys, pprint; pprint.pprint(sys.path)'
Semicolons to delimit lines, pprint to make the output pretty, sys.path to see what will actually be called.
In my case I learned that my virtual environment version of python is calling libraries outside of that environment.
Recursive algorithms can be slow because they end up solving the same little problems over and over again. To speed them up, you can use a technique called "memoization." Memoization allows algorithms go much more quickly by remembering solutions to problems they have already solved. I’m the recursive algorithm. This blog is my memoization.
Showing posts with label python version. Show all posts
Showing posts with label python version. Show all posts
Friday, November 7, 2014
Subscribe to:
Posts (Atom)