I'm new to Python so this may sound silly.
I want to use a Python library I've found on Github, lets say on https://github.com/praw-dev/praw
, and I want to be able to do git pull
in the future to pull the latest commits.
Question: Should I git clone <git url>
in the project directory and delete everything except the praw
directory, then in my python script do a import praw
?
In iPython,
import praw
gives the error ImportError: No module named praw
Directory Structure
~myProject
praw
myNotebook.ipynb
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…