you can use any text editor, so long as file suffix is .py
A better solution is to use an IDE (there are many: google 'python IDE')
I would recommend VSCode, (see tutorial on this forum: https://python-forum.io/Thread-VS-Code-f...ght=VSCode )
but it's a personal choice PyCharm is also well liked.
using an IDE will allow you to easily use debuggers, keep code organized, and quickly execute within a terminal window while developing tour code in another frame (same IDE).
A better solution is to use an IDE (there are many: google 'python IDE')
I would recommend VSCode, (see tutorial on this forum: https://python-forum.io/Thread-VS-Code-f...ght=VSCode )
but it's a personal choice PyCharm is also well liked.
using an IDE will allow you to easily use debuggers, keep code organized, and quickly execute within a terminal window while developing tour code in another frame (same IDE).