一元网络论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 192|回复: 0

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

[复制链接]

3万

主题

3万

帖子

9万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
96158
发表于 2024-8-17 02:40:29 | 显示全部楼层 |阅读模式
Code as follows:



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



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

I want to print and save the secret of the content that I input as \ instead of \\
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|一元网络论坛

GMT+8, 2024-11-26 12:01 , Processed in 0.805890 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表