Skip to main content

使用SpiderX模块

1. 在IDE中安装汉化和拼音插件
2. 导入模块并调用函数。

如:

#安装教程
#更新pip
#python -m pip install --upgrade pip
#可以设置pip镜像服务器
#pip config set global.index-url --site https://pypi.tuna.tsinghua.edu.cn/simple
#pip config set global.index-url --site https://pypi.doubanio.com/simple
#自动安装依赖库
#pip install spiderx  
#自动安装可选依赖库
#pip install spiderx[all]
from spiderx import sx

# 获取本地IP地址
print(sx.获取_IP信息())

# 保存JSON文件
a = {'a': 1, 'b': 2, 'c': 3}
sx.保存JSON('a.json', a)

# 加载JSON文件
b = sx.加载JSON('a.json')

# 打印JSON文件
sx.打印_JSON(b)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spiderx-1.12.98-py3-none-any.whl (117.1 kB view details)

Uploaded Python 3

File details

Details for the file spiderx-1.12.98-py3-none-any.whl.

File metadata

  • Download URL: spiderx-1.12.98-py3-none-any.whl
  • Upload date:
  • Size: 117.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for spiderx-1.12.98-py3-none-any.whl
Algorithm Hash digest
SHA256 2bf349a4ea33cd733811593e972548f635e391982657165f01be1f9555cd1ce5
MD5 a789047e9eace0767469f61633d3c739
BLAKE2b-256 c00400c92e53e3a261c43706981719c36bf6ac2719ce556b250611e8fffb2ace

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.0

1 file

1.12.99

1 file

This release

1.12.98 This release

1 file

1.12.97

1 file

1.12.96

1 file

1.12.95

1 file

1.12.94

1 file

1.12.93

1 file

1.12.92

1 file

1.12.91

1 file

1.12.90

1 file

1.12.88

1 file

1.12.87

1 file

1.12.86

1 file

1.12.85

1 file

1.12.84

1 file

1.12.83

1 file

1.12.82

1 file

1.12.81

1 file

1.12.75

1 file

1.12.72

1 file

1.12.71

1 file

1.12.70

1 file

1.12.64

1 file

1.12.63

1 file

1.12.62

1 file

1.12.61

1 file

1.12.60

1 file

1.12.57

1 file

1.12.56

1 file

1.12.55

1 file

1.12.53

1 file

1.12.52

1 file

1.12.51

1 file

1.12.50

1 file

1.12.49

1 file

1.12.48

1 file

1.12.47

1 file

1.12.46

1 file

1.12.45

1 file

1.12.44

1 file

1.12.43

1 file

1.12.42

1 file

1.12.41

1 file

1.12.40

1 file

1.12.39

1 file

1.12.38

1 file

1.12.37

1 file

1.12.36

1 file

1.12.35

1 file

1.12.33

1 file

1.12.32

1 file

1.12.31

1 file

1.12.30

1 file

1.12.29

1 file

1.12.27

1 file

1.12.26

1 file

1.12.25

1 file

1.12.24

1 file

1.12.23

1 file

1.12.20

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page