Skip to content

Instantly share code, notes, and snippets.

View johnpauljanecek's full-sized avatar

John Paul Janecek johnpauljanecek

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johnpauljanecek
johnpauljanecek / epc_server.py
Created March 2, 2015 01:33
ipython extension used with epc-python.el
"""
epc_server.py
"""
from epc.server import EPCServer
from epc.server import ThreadingEPCServer
import threading
__version__ = "0.1"
def load_ipython_extension(ipython):
@johnpauljanecek
johnpauljanecek / epc_python.el
Created March 2, 2015 01:30
Client file to be used to communicate with ipython
(require 'epc)
(defvar py-epc nil)
(defun py-epc:connect (port)
(interactive "nEnter py-epc port : ")
(setq py-epc (epc:start-epc-debug port))
)
(defun py-epc:run-cell-region (start end)
(interactive "r")