A Python OJ client for turtle
Project description
OJ Client for Python3 Turtle
一、当遇到questype=9的题型时,需要访问(GET):https://myproxy.acmcoder.com:4443/run
如果返回:
{result: "pong"}
则表示客户端已经启动。
否则:
提示:请按照如下步骤启动客户端: 1、安装Python3 2、打开命令行,输入:pip3 install --upgrade acmturtleoj && python -c "import acmturtleoj;acmturtleoj.main()" 3、回车,当360提示是否阻止该操作时,一定要选允许该操作 4、保持窗口不关闭 5、切换到考试界面继续答题。
二、往后端提交完代码后,需要访问(GET):https://myproxy.acmcoder.com:4443/run?user_id=abc&guid=def&solution_id=3
其中:
user_id:考生端为Cands.id;报告端为生成的guid;
guid:考生端为Cands.guid;报告端为生成的guid;
solution_id:考生端如果有,则加上,如果没有,则为0;报告端为solutionId。
如果成功,则返回:
{result: "ok"}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file acmturtleoj-0.0.3.7.tar.gz
.
File metadata
- Download URL: acmturtleoj-0.0.3.7.tar.gz
- Upload date:
- Size: 36.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53a0422b00162661e59ece0bee0db3b129f40e4e727e2f03285bb853be1f259b |
|
MD5 | 9340d8ab4b12e130f8dfa796df8b7a31 |
|
BLAKE2b-256 | d55345557355ad8d8b4c97de2a7688fba871915ed64efe539c8d06e5f13e5331 |
File details
Details for the file acmturtleoj-0.0.3.7-py2.py3-none-any.whl
.
File metadata
- Download URL: acmturtleoj-0.0.3.7-py2.py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e5f15893c3894038ad5c26629a9cc18076088d9dbc938b86cd72b5f9da60e5 |
|
MD5 | 3058bca0c404a61e45486a773d71575f |
|
BLAKE2b-256 | 1b079bb8d02d9c5c5f0524fdcf266a4b4cfaba7b62b76228eace64443bb4fd51 |