Template
将 w32 库改为 win32
This commit is contained in:
1 parent
3094df61d8
commit
62dcad2b99
1 file changed
+3
-5
+3
-5
@@ -1,11 +1,9 @@
|
|||||||
import w32.win32console as w32cmd
|
import win32.win32console as w32cmd
|
||||||
import t, c
|
|
||||||
|
|
||||||
|
|
||||||
pagecode: t.CDefine = 65001
|
define pagecode = 65001
|
||||||
|
|
||||||
@t.CExport
|
export def main() -> int:
|
||||||
def main() -> int:
|
|
||||||
w32cmd.SetConsoleOutputCP(pagecode)
|
w32cmd.SetConsoleOutputCP(pagecode)
|
||||||
w32cmd.SetConsoleCP(pagecode)
|
w32cmd.SetConsoleCP(pagecode)
|
||||||
print("你好,世界")
|
print("你好,世界")
|
||||||
|
|||||||
Reference in new issue
Block a user