RAD与Python [英] RAD with Python

查看:74
本文介绍了RAD与Python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



Python适合开发基于数据库的应用程序有多好?

我是Python新手所以如果有的话请跟我一起问题是

太简单了。我特别提出以下问题:


1.是否有使用GUI界面用
Python编写的简单数据输入应用程序的示例?像一个简单的地址簿应用程序

有一个列表框,显示所有地址,能够

添加/修改/删除。


2.似乎有许多GUI框架可用?哪一个是好的?b $ b适合在Windows和Linux上使用?


3.可以将Python应用程序编译为exe吗? $•
生成的可执行文件是否可以商业化分发?什么类型的应用程序不适合写入

Python ?


我对许多语言都有很好的了解,包括C ++,汇编程序,

Java等。我目前首选的开发工具是Clarion。如果

任何拥有Clarion背景的人都可以分享他们的经验,那将非常有用。


感谢你的回答...


谢谢&此致,

Ubaidullah Nubar。

Hi,

How well is Python suited for developing database based applications?
I am new to Python so please bear with me if some of the questions are
too simple. I specifically have the following questions:

1. Is there an example of a simple data-entry application written in
Python using a GUI interface? Something like a simple address book app
with a listbox displaying all addresses with the ability to
add/modify/delete.

2. There seem to be a number of GUI frameworks available? Which one is
good for use on Windows and Linux?

3. Can Python apps be compiled to an exe? Can the resulting executable
be distributed commercially?

4. What types of applications are not suitable to be written in
Python?

I have good knowledge of many languages including C++, Assembler,
Java, etc. My preferred development tool is Clarion currently. If
anybody with a Clarion background can share their experience with
Python, that will be very helpful.

Appreciate your answers...

Thanks & Regards,
Ubaidullah Nubar.

推荐答案

Ubaidullah Nubar写道:
Ubaidullah Nubar wrote:

我是Python的新手,所以如果有些问题太简单,请耐心等待。我特别提出以下问题:

1.是否有使用GUI界面用Python编写的简单数据输入应用程序的示例?像一个简单的地址簿应用程序
与列表框显示所有地址,能够添加/修改/删除。


查看 http:// www.netpromi.com/mojoview.html

它使用gtk

2.似乎有许多GUI框架可用?哪一个适合在Windows和Linux上使用?


我认为Windows有一个GTK2端口。

pyqt也是一个选项,但你需要支付

到在windows上使用它。

wxwindows是另一个流行的跨平台工具包。

我个人推荐GTK。

3.可以将Python应用程序编译成一个可执行程序?生成的可执行文件可以在商业上分发吗?


是的。

4.什么类型的应用程序不适合用Python编写?


CPU密集型应用程序,或低级别位操作是最好用C语言完成
,尽管你可以很容易地用C编写部件,

甚至使用psyco来实现某些python函数。

注意python 2.3比2.2快25%。

我对很多语言都有很好的了解,包括C ++,Assembler,
Java等我目前首选的开发工具是Clarion。如果任何具有Clarion背景的人都可以与他人分享他们的经验,那将非常有帮助。
Hi,

How well is Python suited for developing database based applications?
I am new to Python so please bear with me if some of the questions are
too simple. I specifically have the following questions:

1. Is there an example of a simple data-entry application written in
Python using a GUI interface? Something like a simple address book app
with a listbox displaying all addresses with the ability to
add/modify/delete.
Have a look at http://www.netpromi.com/mojoview.html
It uses gtk
2. There seem to be a number of GUI frameworks available? Which one is
good for use on Windows and Linux?
There is a GTK2 port to windows I think.
pyqt is also an option, but you need to pay
to use it on windows.
wxwindows is another popular crossplatform toolkit.
Personally I recommend GTK.
3. Can Python apps be compiled to an exe? Can the resulting executable
be distributed commercially?
yep.
4. What types of applications are not suitable to be written in
Python?
CPU intensive apps, or low level bit manipulation is
better done in C, though you can very easily write parts in C,
or even use psyco for certain python functions.
Note python 2.3 is 25% faster than 2.2.
I have good knowledge of many languages including C++, Assembler,
Java, etc. My preferred development tool is Clarion currently. If
anybody with a Clarion background can share their experience with
Python, that will be very helpful.



$ b $bPádraig。



Pádraig.


在星期五,2003年9月12日上午06:09:02 -0700,Ubaidullah Nubar写道:
On Fri, Sep 12, 2003 at 06:09:02AM -0700, Ubaidullah Nubar wrote:




你会找到几乎所有主要使用的数据库的python接口。

而且作为Python的本质,它很容易与数据库交互
Python中的


我是Python的新手,所以如果有些问题太简单,请耐心等待。我特别提出以下问题:

2.似乎有许多GUI框架可用?哪一个适合在Windows和Linux上使用?


如果你是Python的新手并且之前没有使用过C ++的经验那么

我认为Tkinter是最好的起点。如果你觉得使用C ++可以使用
,那么你可以使用wxPython。 (实际上wxPython没有单独的

文档,它是wxWindows库的一个包装器)

3. Python应用程序可以编译成exe吗?生成的可执行文件是否可以商业分发?


是的,使用McMillan和py2exe。

4.什么类型的应用程序不适合用Python编写?


系统端软件

我对包括C ++,汇编程序,Java等在内的多种语言有很好的了解我目前首选的开发工具是Clarion。如果任何有Clarion背景的人都可以与他人分享他们的经验,那将非常有帮助。

感谢你的答案...

谢谢&安培;此致,Ubaidullah Nubar。
-
nofollowhref =http://mail.python.org/mailman/listinfo/python-listtarget = _blank> http://mail.python.org/mailman/listinfo/python-list




问候

Vivek库马尔



Regards
Vivek Kumar


2003年9月12日06:09:02 -0700,Ubaidullah Nubar

< ub ***** ********@hotmail.com>写道:
On 12 Sep 2003 06:09:02 -0700, Ubaidullah Nubar
<ub*************@hotmail.com> wrote:


Python适合开发基于数据库的应用程序吗?
我是Python的新手,所以请耐心等待我有些问题太简单了。我特别提出以下问题:

1.是否有使用GUI界面用Python编写的简单数据输入应用程序的示例?像一个简单的地址簿应用程序
有一个列表框显示所有地址,能够添加/修改/删除。

2.似乎有一些GUI框架可用?哪一个适合在Windows和Linux上使用?

3.可以将Python应用程序编译为exe吗?生成的可执行文件可以在商业上分发吗?

4.什么类型的应用程序不适合用Python编写?

我很好许多语言的知识,包括C ++,汇编程序,Java等。我首选的开发工具是Clarion。如果任何有Clarion背景的人都可以与他人分享他们的经验,那将非常有帮助。

感谢你的答案...

谢谢&安培;此致,Ubaidullah Nubar。
Hi,

How well is Python suited for developing database based applications?
I am new to Python so please bear with me if some of the questions are
too simple. I specifically have the following questions:

1. Is there an example of a simple data-entry application written in
Python using a GUI interface? Something like a simple address book app
with a listbox displaying all addresses with the ability to
add/modify/delete.

2. There seem to be a number of GUI frameworks available? Which one is
good for use on Windows and Linux?

3. Can Python apps be compiled to an exe? Can the resulting executable
be distributed commercially?

4. What types of applications are not suitable to be written in
Python?

I have good knowledge of many languages including C++, Assembler,
Java, etc. My preferred development tool is Clarion currently. If
anybody with a Clarion background can share their experience with
Python, that will be very helpful.

Appreciate your answers...

Thanks & Regards,
Ubaidullah Nubar.




我的选择是wxPython。看看wxPython演示表格中有很多

来源。


2.

我个人偏好的Python RAD是Boa Constructor 。

您需要安装wxWindows( www.wxWindows.org )wxPython

www.wxPython.org

,最后是Boa Constructor本身(boa-constructor.sourceforge.net)。

生成的代码可以移植到unix,也许是mac。


3.

py2exe用于在windows下生成可执行的python程序。

生成的代码可以自由分配。


4.

Python比App慢400倍。

如果你在大型数据集和类似
$ b $的模块上做复杂的算法b numpy dosn''t加速你需要的你可能会更好用另一种

语言。

(注意,对于大多数应用程序的时间都花在C模块接口上。

by python。)

你必须选择:

1.实现关键部分C(SWIG接口genetrator

帮助研磨C接口到pyhton)

2.使用另一种语言(我的选择..我使用Common Lisp复杂

算法)

-

使用M2,Opera的革命性电子邮件客户端: http://www.opera.com/m2/



My choice would be wxPython. Look at the wxPython demo form plenty of
source.

2.
My personal preference of a Python RAD is Boa Constructor.
You will need to install wxWindows (www.wxWindows.org) wxPython
(www.wxPython.org)
and finally the Boa Constructor itself (boa-constructor.sourceforge.net).
The resulting code is portable to unix and maybe mac.

3.
py2exe is used to generate executable python programs under windows.
The resulting code can be freely distrinuted.

4.
Python is appox 400 times slower than C.
If you are doing complex algorithmics on large data sets and a module like
numpy dosn''t accelerate what you need you might be better off with another
language.
(Note that for most application the time is spendt in C modules interfaced
by python.)
You have to options:
1. Implement the critical sections in C (the SWIG interface genetrator
helps grind the C interface to pyhton)
2. Use another language (My choice.. I use Common Lisp for complex
algorithmics)
--
Using M2, Opera''s revolutionary e-mail client: http://www.opera.com/m2/


这篇关于RAD与Python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆