I need to give credit to Kenneth Reitz, who gives great instruction on this top.
Lesson 1: reproduce what Ken suggested
Topic 1: how can I solve this problem
Case: I wanted to list all the file in a directory
Under Linux, Python3
import subprocess subprocess.call(["ls", "-al"])
Case: How to create a Python Package
It is an advance topic, but I am willing to document it in case I need in the future.
First of all, there is a guide from Hitchhikers I documented it in my Python note with pass word
Here are a few python doc with high regards.
I am trying to create a workable environment for data analysis. Now on my list I have the following to be installed on my windows machine
Anaconda (maybe conda also)
I installed the Anoconda(v1.4.0) on the user level
I followed the link and installed jupyter I can launch "jupyter notebook" and see the web on localhost:8888, But, I do not see the coding environment available
It is a little bit into it to get zipline installed. So, I tested using conda with “sub-environment”. zipline only works with python2.7!!
C:\Users\li11>conda create -n ForZipline python=2.7 biopython (ForZipline) C:\Users\li11>conda intall -c Quantopian zipline
Thank goes to our system admin and Anaconda. Both Python2 and Python3 have been installed on my windows machines. Now I can launch the “jupyter” directly. From now on, I will stick with the jupyter IDE (Interactive Development Environment).
How to install package “sklearn.ensemble”
I am learning Python using kaggle titanic project, the first error I got was, how can I install a package.
Here, is my answer under MacOX