From f0d475e3b5d4f226d24837256efc697271b1c611 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 19:36:10 +0200 Subject: Adding upstream version 3.0.22. Signed-off-by: Daniel Baumann --- examples/python-embed.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 examples/python-embed.py (limited to 'examples/python-embed.py') diff --git a/examples/python-embed.py b/examples/python-embed.py new file mode 100755 index 0000000..ac2cd06 --- /dev/null +++ b/examples/python-embed.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python +""" +""" +from ptpython.repl import embed + + +def main(): + embed(globals(), locals(), vi_mode=False) + + +if __name__ == "__main__": + main() -- cgit v1.2.3