6

I am looking for a tool/extension that helps you writing python docstrings in jupyter notebook.

I normally use VS code where you have the autodocstring extension that automatically generates templates (e.g. the sphinx or numpy template) for docstrings. Is there an equivalent to this in jupyter notebook?

I have been looking online for a long time now, but have trouble finding it.

Ottotos
  • 633
  • 5
  • 14

2 Answers2

1

run this in a Notebook cell:

%config IPCompleter.greedy=True

Then press tab where you want to do autocomplete.

(Extracted from Reddit post)

Bit-Man
  • 516
  • 4
  • 17
0

To make use of auto complete without the use of tab or shift+tab follow this. However, I do not think there is an autodocstring extension for jupyter notebook like the one on VS Code you mentioned.

iamarchisha
  • 175
  • 7