Skip to main content

爬虫函数集

Project description

##使用SpiderX模块

  1. 在IDE中安装汉化和拼音插件。
  2. 导入模块并调用函数。
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)

Project details


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

spiderx-1.10.34-py3-none-any.whl (81.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page