Skip to content

Commit 7065084

Browse files
committed
encodings cmd
1 parent 7313c9c commit 7065084

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
locale.getpreferredencoding() -> 'cp1252'
2+
type(my_file) -> <class '_io.TextIOWrapper'>
3+
my_file.encoding -> 'cp1252'
4+
sys.stdout.isatty() -> False
5+
sys.stdout.encoding -> 'cp1252'
6+
sys.stdin.isatty() -> True
7+
sys.stdin.encoding -> 'utf-8'
8+
sys.stderr.isatty() -> True
9+
sys.stderr.encoding -> 'utf-8'
10+
sys.getdefaultencoding() -> 'utf-8'
11+
sys.getfilesystemencoding() -> 'utf-8'

0 commit comments

Comments
 (0)