configparser

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
manni
Posts: 2
Joined: Thu Oct 19, 2017 7:24 pm

configparser

Post by manni » Thu Oct 19, 2017 7:42 pm

Hello,
I recently started working with micropython and have few basic questions.
1) Is there any library like configparser available in micropython to read config file?
2) Is it possible to install any library?

Thanks!

User avatar
pythoncoder
Posts: 5956
Joined: Fri Jul 18, 2014 8:01 am
Location: UK
Contact:

Re: configparser

Post by pythoncoder » Fri Oct 20, 2017 8:05 am

I suggest you read at least the first page of https://github.com/micropython/micropyt ... ifferences.
Peter Hinch
Index to my micropython libraries.

User avatar
deshipu
Posts: 1388
Joined: Thu May 28, 2015 5:54 pm

Re: configparser

Post by deshipu » Fri Oct 20, 2017 1:16 pm

You can use ujson for your config files, and yes, you can copy python files onto your board and import them.

manni
Posts: 2
Joined: Thu Oct 19, 2017 7:24 pm

Re: configparser

Post by manni » Mon Oct 30, 2017 7:54 pm

[quote=deshipu post_id=22645 time=1508505400 user_id=653]
You can use ujson for your config files, and yes, you can copy python files onto your board and import them.
[/quote]

Thanks!

Post Reply