From 899481249308eaec3e99790997cd2e71f4647d29 Mon Sep 17 00:00:00 2001 From: Nobody <92797441+Nobodies123@users.noreply.github.com> Date: Sun, 17 Sep 2023 10:47:03 +0800 Subject: [PATCH] Create README.md --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2615ea6 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# python_goto +为Python提供goto支持 +源于python包[goto-statement](https://pypi.org/project/goto-statement/#files),并使用[第三方补丁](https://github.com/cdjc/goto/blob/master/goto.py)修改了goto.py以提供Python3.11及以上版本支持。 +理论上支持Python2/3,在Python 3.8.0/3.9.1/3.12.0rc1上实测有效。 + +## 安装 + +下载whl包后在其目录下执行`pip install goto` + +## 用法 + +```python +from dominate.tags import label#自行使用pip install dominate=2.8.0安装 +from goto import goto +label .start +#... +goto .start +```