IDLE "Codepage" Switching?

rbowman bowman at montana.com
Tue Jan 17 20:46:49 EST 2023


On 2023年1月17日 12:47:29 +0000, Stephen Tucker wrote:
> 2. Does the IDLE in Python 3.x behave the same way?

fwiw
Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license()" for more information.
str = ""
for c in range(157, 169):
 str += chr(c) + ""
 
print(str)
žŸ ¡¢£¤¥¦§¨
str = ""
for c in range(140, 169):
 str += chr(c) + " "
 
print(str)
Œ  Ž   ‘ ’ “ ” • – — ˜ ™ š › œ  ž Ÿ   ¡ ¢ £ ¤ ¥ 
¦ § ¨ 
I don't know how this will appear since Pan is showing the icon for a 
character not in its set. However, even with more undefined characters 
the printable one do not change. I get the same output running Python3 
from the terminal so it's not an IDLE thing.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /