There are plenty of IDEs and text editors that can be used to write and edit Python files:
List of IDEs supported
List of Text Editors supported
I like to use VS code. Download VS code:https://code.visualstudio.com/
When you open VS Code you will need to add extensions. The extensions I use:
A good video to watch: https://www.youtube.com/watch?v=-nh9rCzPJ20