将 w32 库改为 win32

This commit is contained in:
TermiNexus committed 2026-10-13 15:36:14 +08:00
1 parent 3094df61d8
commit 62dcad2b99
1 file changed
+3 -5
+3 -5
View File
@@ -1,11 +1,9 @@
import w32.win32console as w32cmd
import t, c
import win32.win32console as w32cmd
pagecode: t.CDefine = 65001
define pagecode = 65001
@t.CExport
def main() -> int:
export def main() -> int:
w32cmd.SetConsoleOutputCP(pagecode)
w32cmd.SetConsoleCP(pagecode)
print("你好,世界")