In this article I’ll show you how to edit Python scripts in notepad, I’ll explain why it is not a good idea to do so and I’ll show some better alternatives. Avoid using a rich editor like Wordpad, Microsoft Word, LibreOffice Writer or OpenOffice. You can install a proper code editor or an IDE in a few minutes and you will be much more productive. You can edit Python files in Notepad, but you should not use it as there are much better tools for code editing.
If you are just starting to learn programming or you have to quickly edit a Python script on a Windows machine, where you cannot or do not want to install any extra software, you might be wondering which tool is the best for the job? Is it possible to edit Python code with Notepad or Word? Can You Write Python Code in Notepad, Wordpad or Word?