'How to transfer a file in python between a pc and an android phone (kivy app) ? (in wifi or usb)

I have a program on my pc that needs a config file to run (config.ini or config.json). I have also a Kivy app on an android device, that use the config file to run, and modify this config file.

I would like to know if it's possible to connect the application to the computer (with wifi, bluetooth or usb) and to download the config.ini, then modify it, and replace on computer the new config file. So that after dowload the config file on my android device, when i change the file and save the final config, it actualize the config file on the computer.

Thank you for your help !



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source