I am not sure what you mean. (elpy-enable) in an init file does it for me. It is only active in the special edit mode, e.g. C-c ' in the code block.

John

-----------------------------------
Professor John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Sun, Mar 5, 2017 at 9:10 AM, Doyley, Marvin M. <m.doyley@rochester.edu> wrote:
Doesn't anybody know how to enable elpy mode when writing python or ipython code blocks.

Thanks,
M

Sent from my iPad