From 62dcad2b9943f713bb89aafc204b012dc7699066 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Tue, 13 Oct 2026 15:36:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=20w32=20=E5=BA=93=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=20win32?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/main.vp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/App/main.vp b/App/main.vp index c853563..32b0f07 100644 --- a/App/main.vp +++ b/App/main.vp @@ -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("你好,世界")