diff options
author | Franck Cuny <franck@fcuny.net> | 2023-01-18 18:46:17 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-01-18 18:46:17 -0800 |
commit | d90ec51461785c1b8119da54c58da99407526481 (patch) | |
tree | b363a915348564fb92928fc0716aefb9bcb169f8 | |
parent | feat(snippets/markdown): start a new blog entry (diff) | |
download | emacs.d-d90ec51461785c1b8119da54c58da99407526481.tar.gz |
fix(snippets/python): add the main function
Change-Id: If8e239bfd07cb8c3525b9f501af03dd4534fc857
-rw-r--r-- | emacs/etc/snippets/python-mode/main | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/etc/snippets/python-mode/main b/emacs/etc/snippets/python-mode/main index b2890c2..b1564a8 100644 --- a/emacs/etc/snippets/python-mode/main +++ b/emacs/etc/snippets/python-mode/main @@ -2,5 +2,8 @@ # name: main # key: main # -- +def main(): + pass + if __name__ == "__main__": main() \ No newline at end of file |