This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
other:python:misc_by_jyp [2022/12/12 12:13] jypeter [Storing objects and data in a file (shelve and friends)] |
other:python:misc_by_jyp [2022/12/12 12:35] jypeter Added config file section |
||
---|---|---|---|
Line 237: | Line 237: | ||
* Working with [[other:python:jyp_steps#netcdf_filesusing_cdms2_xarray_and_netcdf4|NetCDF]] files | * Working with [[other:python:jyp_steps#netcdf_filesusing_cdms2_xarray_and_netcdf4|NetCDF]] files | ||
+ | ==== Using a configuration file ==== | ||
+ | |||
+ | The built-in [[https://docs.python.org/3/library/configparser.html|configparser]] module can be easily used for reading (**and** writing!) text configuration files. | ||
+ | |||
+ | Note: a configuration file is also a way to easily store and exchange text data ! | ||
==== Sorting ==== | ==== Sorting ==== | ||