If we want, we can write our Python code in Notepad.
Just open Notepad. Write your code. For example, we simply write print('Hello Python')
and save this file. Provide a file name; when writing your file name, add py
at the end of the file name to make this a Python file. Like, we save our file anotherdaywithpython.py
To open Notepad, type “notepad” on Windows, and it will open Notepad. Write your code:

Save this file by providing any name, but at the end of the file name, add .py as Python extension.

Now our file is saved. We can open this file with any IDE.