Any text editor can be used to write python code and then be interpreted using the official python interpreter. But, i personally use jupyter notebook. It is light and can even run from browser. But it can be a little complicated to setup for beginners. Anaconda and pycharm are also some of the good python distributions, but they are quite heavy. But i encourage using a simple text editor like sublime or atom and downloading the official interpreter, if you are a beginner.