1 , 怎样才能找到这个python shell 图形化的窗口去找python主程序快捷方式比如winserver如图或者直接在cmd或者shell窗口里输入python比如winserver如图
2,python写的图形化界面是怎么样的如果有一定基?。?强烈的推荐Tkinter.pdf , 也就是Tkinter库的官方文档,虽然是英文的,但是,内容很全 , 做项目的时候肯定能帮你一把 。搜一下:在linux中安装了python3怎么打开python3的图形化界面,之前的python2安装了p【python图形化界面,怎样才能找到这个python shell 图形化的窗口】
3,怎么用python写图形界面的程序5种类型:BaseServer,TCPServer,UnixStreamServer,UDPServer,UnixDatagramServer 。BaseServer不直接对外服copy务 。TCPServer针对TCP套接字流UDPServer针对UDP数据报套接字UnixStreamServer和UnixDatagramServer针对UNIX域套接字 , zd不常用 。
4,Python tkinter能做出好看的图形界面么原生控件很丑 , 你要做好看,自己封装控件、贴图什么的,繁琐、吃力不讨好 。每个语言都有自己的适用领域 , python就不是用来写GUI的啊,还不如用python做Web后端,HTML写界面,浏览器运行界面tk毕竟是tcltk的组建 , 虽然引入到了python、perl等其他语言中,但是版本落后太多 。使用了theme的tk,界面和原生的ui没差别 。5 , python图形界面这是pyqt4的代码:(你想要安装才可以使用)from PyQt4 import QtCore, QtGuiclass Ui_helloword(object): def setupUi(self, helloword): helloword.setObjectName("helloword") helloword.resize(400, 300) self.label = QtGui.QLabel(helloword) self.label.setGeometry(QtCore.QRect(70, 80, 54, 12))#位置 self.label.setObjectName("label") self.retranslateUi(helloword) QtCore.QMetaObject.connectSlotsByName(helloword) def retranslateUi(self, helloword): helloword.setWindowTitle(QtGui.QApplication.translate("helloword", "Form", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("helloword", "你好世界", None, QtGui.QApplication.UnicodeUTF8))if __name__ == "__main__": import sys app = QtGui.QApplication(sys.argv) helloword = QtGui.QWidget() ui = Ui_helloword() ui.setupUi(helloword) helloword.show() sys.exit(app.exec_())vc(基于mfc)最简单,python是脚本语言 , java是编译语言,当然java快,但是java还必须基于jvm才能跑,python的话 , 可以通过py2exe变成编译好的exe程序,比java快 。至于做游戏,只要有gui库的语言的都能做游戏,没图形界面的也可以(console游戏) 。----------------------那些游戏不是纯python开发的,大多都是c/c++做的 , python在里面只是充当一个粘合剂而已
推荐阅读
- 怎样制作自己需要的地图,地图是怎么制作的
- 重装机兵3驾驶等级和战斗等级,重装机兵3小包装袋在哪里
- sas中的主成分分析结果,用sas进行主成分分析
- 东方城300A-P4电源多少瓦,电脑P4电源线是什么的电源
- 苹果显示百分比电量在哪里,怎样让iPhone电池显示百分比
- z77装win10bios设置,z77超外频设置105
- 计算机组装的实验过程问题分析
- 谁知道忍者村大战2.203的大随三禁是什么意思?忍者村大战2皮肤盒子是什么
- seo关键流程分析