admin 发表于 2024-8-17 02:40:29

Please point me in the right direction with Python, Python gods.

Code as follows:

https://vip.helloimg.com/i/2024/08/17/66bf875685ac2.png

The printed value is as follows:
The written file content is as follows:

https://vip.helloimg.com/i/2024/08/17/66bf8755dc8aa.png

File contents after saving
{'username': 'username', 'secret': '\\\\'}

I want to print and save the secret of the content that I input as \ instead of \\
页: [1]
查看完整版本: Please point me in the right direction with Python, Python gods.