Files
pycom-documentation/content/pybytes/api/export_config.md
2020-01-17 17:41:26 +01:00

29 lines
545 B
Markdown

---
title: "Export configuration file"
aliases:
- pybytes/api/export_config
---
Exports all configuration data into a file at specified path.
**Method**
----
**pybytes.export_config(file)**
**Parameters**
----
| name | Description | is Required | Default value
| ------------- |:-------------:|:-------------:|:-------------:|
| file | File Path | No | /flash/pybytes_config.json |
**Example**
----
`pybytes.export_config()`
**Success Response**
----
```
>> Pybytes configuration exported to /flash/pybytes_config.json
```