Working with config files in Python

preview_player
Показать описание
In this video we discuss how to work with config files in Python

Рекомендации по теме
Комментарии
Автор

As a python noob, I'm confused and frightened about 85% of the time. This video has been a little beacon of hope, thank you, you majestic beast

jessepinkmeng
Автор

Man this was so much better than going through the plethora they throw at you in the python documentation.

daydreamerdreams
Автор

Damn this was a pretty good video. I'm surprised by the view count your video got. Absolutely underrated. Great work. Do make more videos.

ninostephen
Автор

Thanks sir
I am beginner modder of games this will help me a lot

sonalbadiyani
Автор

Your video was so easy to understand and straight to the point, thank you so much!

martekindustries
Автор

Such an easy to grasp demonstration. Thanks a lot. This helped.

UsmanSaadat
Автор

О, святая Широ, наконец кто-то нормально объяснил, как записывать изменения в конфиг такого вида!

shuwiku
Автор

2:52 Missed opportunity to put id = 007. Nice video.

open_ckt
Автор

Well explained and very informative, thanks from Kuwait!

Yousifalzoubi
Автор

Thank you a lot! You mixed the "file.write(config)" with the "config.write(file)" a bit, but it was all ok! Liked the video. And also good luck, God bless!

munteanionut
Автор

Very nice video thank you for sharing knowlage

matejalukac
Автор

This was very informative and well broken down. thank you!

emekachukwukere
Автор

Yeh bro..this is what we need, you got one more subscriber.
Please put some more codes like dis.

rajanchoudhary
Автор

one more subscriber is added ..count it. great video thanks

mohanpawar
Автор

Worth advice. Thanks it helps me a lot.

eniorubens
Автор

Thanks! Just for reference:
It it returns an empty list then add this in your code:
path =
configdir = '/'.join([path, '<config_filepath>/config.ini'])
config = configparser.ConfigParser()
config.read(configdir)

palashmondal
Автор

What about updating(changing) a value?

AmgadElsaiegh
Автор

Good tutorial
How to neatly format ini file, I mean all "= is in same vertical alignment?

gsureshu
Автор

Can we read the config file if its stored in AWS S3 ?

hsaniva
Автор

so I can only add as string to .ini, and I will need to convert it back to whatever when reading from .ini?

timothytim