Python command in "Social network analysis learned by open source"

Appropriate for copying the python sample in the text of "Open Source Learning Social Network Analysis: Finding" Connections "on the Social Web" Command line example:

Shell command


ipython -i -c '%doctest_mode' --pylab

Even where it is not explicitly stated, it probably assumes the Ipython environment specified by pylab. The prompt in the sample is > >>, so doctest_mode should also be set.

The interactive samples of Python books in this genre are probably written for Ipython in doctest_mode.

Recommended Posts

Python command in "Social network analysis learned by open source"
Survival time analysis learned in Python 2 -Kaplan-Meier estimator
Association analysis in Python
Regression analysis in Python
[Python] Open the csv file in the folder specified by pandas
Refactoring Learned in Python (Basic)
Execute external command in python
Axisymmetric stress analysis in Python
Python classes learned in chemoinformatics
Simple regression analysis in Python
Neural network implementation in python
Visualize the correlation matrix by principal component analysis in Python
External command execution in Python
What I learned in Python
Character code learned in Python
Python functions learned in chemoinformatics
Sort by date in python
A simple data analysis of Bitcoin provided by CoinMetrics in Python
First simple regression analysis in Python
Run shell command / python in R
In the python command python points to python3.8
I learned about processes in Python
Hash method (open address method) in Python
Elementary ITK usage learned in Python
Planar skeleton analysis in Python (2) Hotfix
Basic Linear Algebra Learned in Python (Part 1)
Get exchange rates from open exchange rates in Python
[LLDB] Create your own command in Python
Learn the design pattern "Command" in Python
Conditional branching of Python learned by chemoinformatics
Read the file line by line in Python
Automate jobs by manipulating files in Python
Read the file line by line in Python
Decompose command arguments in one line in Python
Analysis of X-ray microtomography image by Python
Common mock by moto in Python Unittest
Residual analysis in Python (Supplement: Cochrane rules)
Alignment algorithm by insertion method in Python
Scene recognition by GIST features in Python