可能重複: How can I hide the console window in a PyQt app running on Windows? 我剛開始探索的wxPython的對話,一兩件事,至今我所注意到的是,每次我啓動腳本(通過雙擊或IDLE中的F5)我在後臺獲得命令提示符窗口,然後出現wx對話框。 有沒有什麼辦法可以刪除那個命令提示符並且只是得到我在wx中創建的對話框?
我設法從其它問題,找到一些數據,讓我實現了下面的代碼: Imports System.Runtime.InteropServices
Public Class Form1
<DllImport("user32.dll")> _
Public Shared Function MoveWindow(ByVal hWnd As IntPtr, ByVal x As Intege
我嘗試下面的代碼 use strict;
use warnings;
use Term::ReadPassword::Win32 qw(read_password);
my $pw = read_password('pw: ');
print "pw $pw\n";
my $x = <STDIN>;
print "x: $x\n";
它確實要求輸入密碼,不迴應的答案,但隨後它跳