You can use any text editor will do, but I would suggest vim. It is not only an excellent text editor. It is language-aware coloring and shows us if there is any syntax problem. It knows about the syntax of “.py” files and also does a reasonably good job of highlighting and indentation based on its knowledge of Python syntax
If you wish to learn Python from an online course, then enroll in this Python Certification course by Intellipaat provides instructor-led training, lifetime access, certification, and job assistance.
You can watch this video on Python career path to understand more: