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.99-py3-none-any.whl (117.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spiderx-1.12.99-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.99-py3-none-any.whl
Algorithm Hash digest
SHA256 fbb61c2d81adea020a64fb569f83e1b92da028bfb4650a7755a322e7129a25c1
MD5 7c516c9d139a04f1482f5d3c7f5986f0
BLAKE2b-256 456233713bcbce7074b3847acc38ef5b00e40d9cdb0efc0387d8e4f225d8c448

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.0

1 file

This release

1.12.99 This release

1 file

1.12.98

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