This repository has been archived by the owner on May 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
what is pios
Charlie edited this page Jun 13, 2023
·
2 revisions
pios is a file format for storing regiestry keys and values.
pios is very easy to use. here is an example of a pios file:
[Section1]
option1 = Value1
option2 = Value2
[Section2]
option3 = Value3
option4 = Value4
just import configparser and use it like this:
import configparser
config = configparser.ConfigParser()
config.read('example.pios')
print(config['Section1']['option1'])
just use the pios command like this:
pios example.pios
the pios command only makes an example file for now.
just use the pios class like this:
#include <iostream>
#include "pios.h"