Start adding some python tempel snippets

This commit is contained in:
Evie Litherland-Smith 2024-02-21 06:55:09 +00:00
parent f2b259fbcf
commit 17e8fa5499

View file

@ -150,6 +150,12 @@ org-mode
(inlsrc "src_" p "{" q "}") (inlsrc "src_" p "{" q "}")
(title "#+title: " p n "#+author: Daniel Mendler" n "#+language: en") (title "#+title: " p n "#+author: Daniel Mendler" n "#+language: en")
python-base-mode
(main "def main(" p ") -> " p ":" n> q)
(ifmain "if __name__ == \"__main__\":" n> "main()")
;; Local Variables: ;; Local Variables:
;; mode: lisp-data ;; mode: lisp-data
;; outline-regexp: "[a-z]" ;; outline-regexp: "[a-z]"