Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cute-omega authored Sep 17, 2023
1 parent 9ee412a commit 8994812
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 8994812

Please sign in to comment.