Skip to main content

properties

Project description

本程序由chenxi开发,csdn:https://blog.csdn.net/chenxi1412 遵从GPL协议,github:https://github.com/zhangjiahuichenxi/propertiesio 使用实例: #1.新建文件

import propertiesio
propertiesio.new_properties("文件路径")

#2.创建对象

import propertiesio
对象 = propertiesio.new("文件路径")

#3.判断文件是否为properties

import propertiesio
propertiesio.is_properties("文件路径")

#4.读取

import propertiesio
对象 = propertiesio.new("文件路径")
propertiesio.get(对象,"yourkey")

#5.判断key是否存在

import propertiesio
对象 = propertiesio.new("文件路径")
propertiesio.has(对象,"yourkey")

#6.写入

import propertiesio
对象 = propertiesio.new("文件路径")
propertiesio.put(对象,"yourkey",“值”)

Project details


Download files

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

Source Distribution

propertiesio-0.0.2.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

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

propertiesio-0.0.2-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file propertiesio-0.0.2.tar.gz.

File metadata

  • Download URL: propertiesio-0.0.2.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for propertiesio-0.0.2.tar.gz
Algorithm Hash digest
SHA256 651af460fbd2c376112afcee6224f702e35b0fa55f193252914c2972a0bdcfe7
MD5 74837a65eb925fcad44a253021ec3710
BLAKE2b-256 f68b5e045d0bc46ff139f8524236c2efc792c58ad39bcad6abb8e225e616e92e

See more details on using hashes here.

File details

Details for the file propertiesio-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: propertiesio-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for propertiesio-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2ef1738478718cd49010f76d63de2be57943e9e8d9061ab138f7c6dcda46492
MD5 b61614856a4be7baa20568a457fa7e1c
BLAKE2b-256 d16fef864ff37dc6e0d35ecc5736c36ab2c755e975614b88e55602f55e5dd9fe

See more details on using hashes here.

Supported by

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