2018年3月4日 星期日

Pyinstaller

If you want to hide the console window, here is the documentation: This is how you use the --noconsole option
python pyinstaller.py --noconsole yourscript.py
==> pyinstaller --noconsole main.py

Create a one-file bundled executable.
==> pyinstaller --noconsole -F main.py

沒有留言:

張貼留言

用Lua算UTF-8字串的長度

 7 kyu:  Count of codepoints in a UTF-8 string 題目是算UTF-8字串的長度, 這題我實在不知道啥好方法, 可能也不太了解題目, 但是想到這種格式轉換, 在實際應用上,都是直接查答案的, 因此就直接問AI了, AI的解法如下: loc...