Jupyter Notebook 注释的时候保持缩进

Table of Contents


Many equations and formulas look intimidating. However, when you hunt them down, they are definitely not! Just papertigers!

Now let's hunt the papertiger.


用Ctrl+/给Jupyter Notebook注释的时候,注释出现在行首显得代码有点乱。我在上面的链接找到了一个方法。

conda update notebook 
conda install jupyter notebook 
conda install -c conda-forge jupyter_nbextensions_configurator 
conda install -c conda-forge jupyter_contrib_nbextensions
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextension enable comment-uncomment/main
# This program prints Hello, world! 
print('Hello, world!')


There are many excellent tutorials out there. Some tutorials are too intuitive and it's helpful, but you cannot get it straight on the math details. Some focused on dymestifying math. Some focused on code. I found the best tutorials that give you the conceptual ideas and are possible for implementation without being blind to the math details. Drop a comment if I failed. It would be really appreciable.

If you want to cite this article, please cite this article as:

Lachlan Chen, "Jupyter Notebook 注释的时候保持缩进," in EarnFromScratch, August 15, 2020, https://www.earnfs.com/en/html/2088.htm.


title=Jupyter Notebook 注释的时候保持缩进,
author={Chen, Lachlan},
year=August 15, 2020

EarnFromScratch (August 12, 2022) Jupyter Notebook 注释的时候保持缩进. Retrieved from https://www.earnfs.com/en/html/2088.htm.
"Jupyter Notebook 注释的时候保持缩进." EarnFromScratch - August 12, 2022, https://www.earnfs.com/en/html/2088.htm
EarnFromScratch August 15, 2020 Jupyter Notebook 注释的时候保持缩进., viewed August 12, 2022,<https://www.earnfs.com/en/html/2088.htm>
EarnFromScratch - Jupyter Notebook 注释的时候保持缩进. [Internet]. [Accessed August 12, 2022]. Available from: https://www.earnfs.com/en/html/2088.htm
"Jupyter Notebook 注释的时候保持缩进." EarnFromScratch - Accessed August 12, 2022. https://www.earnfs.com/en/html/2088.htm
"Jupyter Notebook 注释的时候保持缩进." EarnFromScratch [Online]. Available: https://www.earnfs.com/en/html/2088.htm. [Accessed: August 12, 2022]

Leave a Reply