Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
marvel
GitHub Repository: marvel/qnf
Path: blob/master/elisp/emacs-for-python/plugins/python-testing.el
990 views
1
;; Snippets to handle the testing of python modules
2
;;
3
;; Ideas:
4
;; - executing preserving the directory
5
;; - a configuration file to save configuration?
6
7
(defun python-exec (command)
8
"The following function launches a command. When recalling the
9
function you can type just RET and the command is launched with
10
the same working directory as before
11
"
12
(interactive "cType a command: ")
13
;; Global variable
14
(setq 'python-exec-dir)
15
)
16
17
(defun python-exec-last-dir ()
18
"Exec a function within the last dir"
19
)
20