Sara
Sara

Reputation: 537

what is the difference between .ipython vs .ipynb?

I know that .py is a regular python file. Also, .ipynb is a python notebook that contains the notebook code, and IPython is supposed to be an interactive shell for Python.

But when I want to write a Jupiter notebook code and run it in VSC, what extension should I use for my code file? .ipython or .ipynb?

Upvotes: 0

Views: 606

Answers (1)

Steven-MSFT
Steven-MSFT

Reputation: 8431

It should be .ipynb. Python extension does not support .ipython file, and I could not find an extension that supports this file extension.

Upvotes: 3

Related Questions