This is the .emacs file we build in "Emacs as a Python Editor/IDE" series: https://www.youtube.com/playlist?list=PL-mFLc7R_MJdX0MxrqXEV4sM87hmVEkRw ...
I’m collecting and customizing the perfect environment for python development, using the most beautiful emacs customization to obtain a really modern and exciting (yet stable) way to edit text files.