python - Python Cryllic Terminal Input not working
问题描述
I have gotten the Cryllic alphabet to appear properly during script output, but typing into the terminal always appears in ASCII. Is there a way for a user to input Cryllic for storing as a string? below is some example code.
var = input(str)
varB = var.lower()
if varB == "да":
user inputs "Да", but console shows "da", causing boolean to return False
解决方案
推荐阅读
- java - Eclipse-Hibernate 工具逆向工程。未创建注释
- angular - 内置指令不适用于根组件
- android - Flutter Error:请确保SDK和/或项目安装在对当前用户有读/写权限的位置:Flutter Error
- python - 有没有办法将发布到 Kafka 主题的 Avro 文件转换为 python 中的平面 SQL 表?
- python - 如何合并两个数据框并有条件地合并一列
- python - 如何根据某些条件编辑数据框?
- python - Multilabel Binarizer 输出全为 0。为什么?
- paypal - 了解 PayPal 智能按钮授权数据流以及何时可能发生资金失败
- python - pygame.error: mpg123_seek: RVA 模式无效。(代码 12)
- roblox - 试图使所有部件通用失败