mirror of
https://github.com/sascha-hemi/pycom-documentation.git
synced 2026-03-22 00:06:09 +01:00
29 lines
545 B
Markdown
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
|
|
```
|