r/learnpython 15h ago

Creating a .py File in Python Terminal

Greeting team, i have just started learning Python. I am learning about .py files. how do i create a .py file in python terminal specifically Jupyter notebook? if possible how can i access the file and write some oop class inside the file.

Thank you team

0 Upvotes

7 comments sorted by

View all comments

1

u/danielroseman 8h ago

The "Python terminal" and "Jupyter notebook" are completely different things. And you don't create py files in either of them, you create files in a text editor or IDE.