LinuxGem
此处为老的 LinuxGem,新版 LinuxGem 请移步 www.linuxgem.org

想学 Pygtk? 找到个好样板

galeki posted @ 2008年1月15日 15:54 in 编程技巧与工具 with tags miniftp pygtk , 5261 阅读

Pygtk 是 Python 的 Gtk 库,通过 Pygtk,你可以用 Python 来写 Gtk 桌面程序,既可以简便编写,又可以获得强大的 Python 类库支持,还可以轻松跨平台运行~

目前基于 Pygtk 的程序越来越多,如果你想学 Pygtk 就不用犹豫了,Pygtk 已经相当的成熟。

miniFTP 就是一个基于 Pygtk 的程序,整个程序就是一个 miniFTP.py 文件,全部的源代码只有 300 多行,却实现了基本 FTP 的登录、浏览、上传、下载的功能,是个非常好的 Pygtk 学习样板。

miniFTP 的主页: http://tuopppi.net/index.php?page=code

Pygtk 的老家: http://www.pygtk.org/

  • 无匹配
uu 说:
2008年1月15日 16:29 崇拜一下……
詹舱 说:
2008年1月15日 20:21 似乎效率没有C高……全部用它编好像不大合算!
posted 说:
2008年1月15日 23:13 詹舱 不要不懂装懂。就现在的计算机速度和网络速度对比,还用不着用C来增加速度。
詹舱 说:
2008年1月16日 04:28 @posted 如果你用着PЩ600的CPU,你就知道为什么要珍惜速度了!
silence 说:
2008年1月16日 07:08 @ 詹舱: pygtk 是使用 python 对 gtk 库进行的薄层封装。有 gtk 在下面撑着, pygtk 写的程序在运行效率上并不是你想象的那样慢。我觉得 pygtk 程序往往能够在开发效率与运行效率取得比较好的折中。像你说的 PIII 600 的 CPU,或许运行 gtk 程序都够吃力的。
kenny 说:
2008年1月26日 23:15 错了,我用毒龙600,kde4速度也很快,用wxPython也没有任何问题。 现在计算机速度越来越快,很多人已经忘记真正的pIII cpu的速度到底是什么样了。
linuxcity 说:
2008年2月04日 02:48 有没有人用K6-2 550的?哈哈
ETHENS 说:
2020年9月21日 15:35

people are creative and want to try something with photographs as one did make a collage. With the help of https://de.altoconvertppttopdf.com/about-us she was able to make a collage. Not only this people can convert that collage into pdf with ease.

ETHENS 说:
2020年10月02日 17:48

HP Board 6th, 7th, 8th, 9th, 10th Syllabus 2020-21- Himachal Pradesh Board of Secondary Education has released the HPBOSE 6th, 7th, 8th, 9th, 10th syllabus 2021 on its official website. Students can download the syllabus in pdf format from hpbose.org. The syllabus of HP Board 6th, 7th, 8th, 9th, 10th 2021 contains topic-wise details of subjects. Knowing the HP HP Board 8th Class Revised Syllabus Board 6th, 7th, 8th, 9th, 10th 2021 syllabus helps students to understand their needs, and plan their studies according to their requirements. Students will be able to know about the topics that need more attention and hard work. Thus, they will become more productive and effective and will score good marks in the exam. Read the article to know more about HPBOSE 6th, 7th, 8th, 9th, 10th syllabus 2021

forex market 说:
2023年8月16日 19:03

When I originally commented I clicked the -Notify me when new comments are added- checkbox now if a comment is added I get four emails sticking with the same comment. Is there however you can eliminate me from that service? Thanks! Patterned Curtains

kashif 说:
2023年8月16日 21:04

Many individuals were enthusiastic sportsmen or enjoyed music and dancing. You may recall that you were most joyful on the performing track. Nonetheless, with increasing obligations you might have found no time to have pleasure in any of an interests. Do you suffer from depression and would like to get free from its abysmal depths without lifelong antidepresants? You could attempt and help yourself to overcome depression by natural means. openai

haider 说:
2023年8月24日 19:49

Generally I do not read post on blogs, but I would like to say that this write-up very forced me to try and do so! Your writing style has been surprised me. Thanks, quite nice post. เว็บบอลออนไลน์UFA

haider 说:
2023年8月25日 15:00

There are some intriguing points soon enough on this page but I do not determine if these people center to heart. You can find some validity but I’ll take hold opinion until I explore it further. Good article , thanks and we want more! Included with FeedBurner as well สมัครแทงบอลฟรี

haider 说:
2023年8月27日 19:33

Couldn´t be written any kind of far better. Reading this post reminds me of my old room mate! He always kept talking about this. I can forward that article to him. Extremely sure he definitely will possess a excellent read. Thanks for sharing! 메이저사이트

haider 说:
2023年8月30日 18:37

Dude.. I am not much into reading, but somehow I got to read plenty of articles on your blog. Its amazing how interesting it is for me to check out you incredibly often. 메이저사이트

haider 说:
2023年9月04日 14:35

My wife and i got so thrilled that Albert could do his researching via the precious recommendations he had out of your blog. It is now and again perplexing just to always be making a gift of techniques that many the others could have been selling. And we all fully grasp we need the writer to give thanks to for that. All of the explanations you’ve made, the simple blog navigation, the friendships you aid to foster – it’s got everything spectacular, and it’s helping our son in addition to the family know that that subject is satisfying, which is certainly extremely fundamental. Thanks for everything! 안전놀이터

haider 说:
2023年9月08日 23:51

You really make it seem so easy with your presentation but I find this matter to be really something which I think I would never understand. It seems too complicated and extremely broad for me. I’m looking forward for your next post, I’ll try to get the hang of it! filmyzilla 2023

haider 说:
2023年9月12日 20:21

Locate which will article writing is not actually valued at the time period, you might recognise that discovering them free of charge is really a lot a great deal more an individual’s idea! Precisely why craft content articles together with throw away your time and energy when you are able become terrific content absolutely free! A lot of people discover utilizing just a dash of effort paid out diving the web page and looking at what’s going on they is able to leave and reveal a whole lot of function done with the particular means available. wooden hanger for pants

haider 说:
2023年9月13日 23:24

Conexion hot new Latin Hip Hop single from Nieto. Produced y Super Producer DJ Solar. Hot track that plugs the gap in Underground Hip Hop and Latin Hip Hop! Mexican Hip Hop

haider 说:
2023年9月14日 22:14

When I originally commented I clicked the -Notify me when new surveys are added- checkbox and already every time a comment is added I buy four emails with the same comment. Perhaps there is that is you possibly can eliminate me from that service? Thanks! สล็อต

haider 说:
2023年9月20日 14:57

Some really nice and utilitarian information on this website , besides I believe the style has superb features. funny crocs slippers

james 说:
2023年10月06日 19:45

Heya this is a good post. I’m going to e-mail this to my friends. I came on this while exploring on bing I’ll be sure to come back. thanks for sharing. chicken crocs clogs


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter