Skip to main content

导入库的方式:

from pyxiaolu import pyxiaolu

pyxiaolu包括以下方法:

login(username,password)

username:小陆同学用户名

password:小陆同学密码

返回值:

当不成功,返回布尔值False

当成功,返回字符串token,该token需要保存好

execute(code,token)

code:要执行的代码,可以使用三个双引号来执行多行代码

token:login方法中返回的字符串token

返回值:

当不成功,返回布尔值False

当成功,返回这些代码的stdout

Release files for pyxiaolu 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyxiaolu 0.1.2
File Size Uploaded
pyxiaolu-0.1.2.tar.gz 1.9 kB Details

Release files / pyxiaolu-0.1.2.tar.gz

Download URL pyxiaolu-0.1.2.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
911a5429eb6b3b4fcfccb1b5ea13a2fa8da93ef3c06c542f5d531c8c9d736b40
BLAKE2b-256 checksum
How to use checksums
f3db158cf8ac1c3965883c17e89ae731f6559ec812d624585f81664d7398c11a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page