Use Python on notepad

Can i use python in Notepad?

You can write python code in notepad, yes, its possible. But i would pick something a little more suitable for coding like notepad++ or atom (or many of the other options)

you still need the python interpreter of course to run the code.

why I can not use raw_input in atom ?
it shows (this is not defined)
what should I do ?

You will need to check your python version, ensuring that the built-in function like raw_input you want to use exist in your python version

it’s version 3.6.5 . should I reinstall python or atom?

neither, you just check here:

and see that raw_input is not a built-in function, it got renamed to input()

A post was split to a new topic: Komodo python