問題タブ [npyscreen]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
72 参照

python-3.x - npyscreenのNPSAppとStandardAppの違いは何ですか?

npyscreen を使用して Python CLI アプリケーションを作成する必要がありますが、ドキュメントでは UI アプリの作成方法が明確ではありません。

私のアプリには、1 つのコントローラー、1 つのサービス レイヤー、およびメイン スクリプトが含まれます。メイン スクリプトでコントローラーを呼び出し、コントローラーがサービス レイヤーをロードしますが、メイン クラスに NPSApp を使用するか StandardApplication を使用するかの違いは何ですか?

ベスト プラクティスとして使用する必要があるのはどれですか。また、使用しない場合はどれですか。