V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
finler
V2EX  ›  Python

Python在win下编程,GUI设计的请教

  •  
  •   finler · 2013-09-04 11:08:10 +08:00 · 4221 次点击
    这是一个创建于 3880 天前的主题,其中的信息可能已经有所发展或是发生改变。
    #各位高手本人菜鸟一枚,之前用Fortran做计算,现仅靠做完codecademy的题入门。

    由于工作需要,在用python进行数据计算、资料处理的同时,想用python开发win下的gui程序。
    由于过菜,wxformbuilder用不来。
    网上能找到的教程 http://www.leigao.org/blog/archives/421 按照步骤F8/F6生成框架与代码后,dos/python运行 wx.App (*.py文件)窗口一闪而过。
    不知何故,特此请教!
    >>各位如果有更适合新手的教程不妨推荐?
    9 条回复    1970-01-01 08:00:00 +08:00
    Kabie
        1
    Kabie  
       2013-09-04 11:19:02 +08:00   ❤️ 1
    没报错信息具体原因谁也不知道了……

    目前还是PyQt比较主流吧……至少支持Python3……

    http://www.riverbankcomputing.com/software/pyqt/download5
    finler
        2
    finler  
    OP
       2013-09-04 12:00:46 +08:00 via Android
    @Kabie 羞愧,qt是好,但前天才被pyqt欺负过。。。网上的教程好像都把新手人群忽略了,大量步骤跳过
    shadowind
        3
    shadowind  
       2013-09-04 14:12:10 +08:00   ❤️ 1
    我用tk做过一个很简单GUI,楼主可以看下文档,挺简单的~~
    liuxurong
        4
    liuxurong  
       2013-09-04 14:13:43 +08:00   ❤️ 1
    Qt也挺简单的,去博客園搜索下。我记得有非常入门的文章。
    jamiesun
        5
    jamiesun  
       2013-09-04 15:01:41 +08:00   ❤️ 1
    我用pyqt做的一个小工具,https://github.com/jamiesun/RadiusTester

    并且用loadui做到完全代码和界面分离,可以看一下

    https://github.com/jamiesun/RadiusTester/blob/master/screenshot.jpg?raw=true
    cxshun
        6
    cxshun  
       2013-09-04 17:02:45 +08:00   ❤️ 1
    pyqt还是不错的,想当年我就是直接在初学python的情况下,用pyqt做了一个小工具。蛮简单的,楼主看一些英文文档就OK了。
    Narcissu5
        7
    Narcissu5  
       2013-09-04 17:59:30 +08:00   ❤️ 1
    既然在win下,为什么不用IronPython + WPF 呢
    finler
        8
    finler  
    OP
       2013-09-04 18:34:57 +08:00
    @shadowind @liuxurong @jamiesun @cxshun @narcissu5 感谢各位的建议!
    感叹python竟然有如此多的gui工具。看来我需要沉下心来学一些东西了。
    xavierskip
        9
    xavierskip  
       2013-09-05 07:50:30 +08:00 via Android
    wxpython
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   877 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:31 · PVG 05:31 · LAX 14:31 · JFK 17:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.