初步进行了一些调整,作为 Viper 语言的一般模板使用
This commit is contained in:
12
StandardTemplateProject/App/main.py
Normal file
12
StandardTemplateProject/App/main.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import w32.win32console as w32cmd
|
||||
import t, c
|
||||
|
||||
|
||||
pagecode: t.CDefine = 65001
|
||||
|
||||
@t.CExport
|
||||
def main() -> int:
|
||||
w32cmd.SetConsoleOutputCP(pagecode)
|
||||
w32cmd.SetConsoleCP(pagecode)
|
||||
print("你好,世界")
|
||||
return 0
|
||||
Reference in New Issue
Block a user