- Tkinter GUI Programming by Example
- David Love
- 215字
- 2021-08-27 18:49:11
Size and portability
The main advantage a command-line application has over a graphical one is the file size. Without the need to include a graphical library and all of its code, a command-line application can be significantly smaller. This not only allows for quicker downloads, but the ability to package the application on smaller forms of physical media.
Since all OSes will have a command-line interface by default, the potential issue of incompatibilities between a user's system and the graphical library in use will also be eliminated. Your application will also be able to run on machines which do not include a means of drawing graphical windows, such as servers, ensuring it can be run by as many users as possible.
Overall, the choice of interface for an application is largely down to what the application itself does and its intended audience. If you are building a simple application which you wish as many people as possible to use, then a graphical interface seems to be the way to go.
If you are creating a specific and very complicated program which is tailored toward people who are familiar enough with computers to not be intimidated by the command line, then the time and disk space savings of a command-line interface could be of real benefit.
- Go語(yǔ)言高效編程:原理、可觀測(cè)性與優(yōu)化
- Practical Data Science Cookbook(Second Edition)
- HTML5+CSS3基礎(chǔ)開發(fā)教程(第2版)
- Ray分布式機(jī)器學(xué)習(xí):利用Ray進(jìn)行大模型的數(shù)據(jù)處理、訓(xùn)練、推理和部署
- Internet of Things with Intel Galileo
- Flash CS6中文版應(yīng)用教程(第三版)
- STM32F0實(shí)戰(zhàn):基于HAL庫(kù)開發(fā)
- Visual C++數(shù)字圖像處理技術(shù)詳解
- 飛槳PaddlePaddle深度學(xué)習(xí)實(shí)戰(zhàn)
- Swift細(xì)致入門與最佳實(shí)踐
- 劍指Java:核心原理與應(yīng)用實(shí)踐
- C語(yǔ)言程序設(shè)計(jì)上機(jī)指導(dǎo)與習(xí)題解答(第2版)
- NGINX Cookbook
- QPanda量子計(jì)算編程
- Sitecore Cookbook for Developers