从vb6到Python

问题描述:

您好,

我是一名VB6程序员,我想学习一种新的高级

语言(而不是从头开始重新启动.NET),这是

开源和跨平台,以开发跨平台

业务应用程序

我认为Python是最合适的语言范围。

我的问题是:


- 哪个版本的python更适合创建跨平台

GUI'' ?我已经掌握了PyGTK,wxPython,PyQT,tk,Anygui ..


- 什么是Python最好的IDE / RAD(用Python和OpenSource编写)


- 是否存在像Crystal这样的工具(用Python和OpenSource编写)

用于创建业务报告的报告?


- 是否存在一个工具(用Python和OpenSource编写),用于制作表b,视图,查询,数据库关系和生成SQL脚本吗?


- 是从Python开始,可以使用sqlite吗?还有MsAccess?


感谢您的耐心和帮助。

Marco。

Hello,
I am a VB6 programmer and I would like to learn a new high level
language (instead of restarting from scratch with .NET), wich is
opensource and cross-platform, in order to develop cross-platform
business applications
I think Python is the most suitable language for the scope.
My question are:

- Which version of python is more suitable for creating cross-platform
GUI''s? I''ve herard of PyGTK, wxPython, PyQT, tk, Anygui..

- What is the best IDE/RAD for Python (written in Python and OpenSource)

- Does exist a tool (written in Python and OpenSource) like Crystal
Report for creating business reports?

- Does exist a tool (written in Python and OpenSource) for makeing
tables, view, querys, relation of a database and generate the SQL script?

- Is it possible, from Python, to work with sqlite? And with MsAccess?

Thanks for your patience and your help.
Marco.

MarcoL写道:
你好,
我是一名VB6程序员,我想学习一种新的高级语言(而不是从头开始重新启动)。 NET),这是开源和跨平台,以开发跨平台的业务应用程序
我认为Python是最适合范围的语言。
我的问题是:

- 哪个版本的python更适合创建跨平台的GUI?我有PyGTK,wxPython,PyQT,tk,Anygui等等。


这是一个品味问题。我最喜欢wxPython。如果PyQT在win32上也是开源的话可能会有点不同。

- 什么是Python的最佳IDE / RAD(用Python和OpenSource编写)


您应该查看ERIC / Qt。如果您需要定位Windows,那么您可以考虑购买win32 Qt / PyQt许可证。


迄今为止我见过的最好的IDE是WingIDE(商业)。

- 是否存在像Crystal一样的工具(用Python和OpenSource编写)
用于创建业务报告的报告?


Reportlab是我所知道的最接近的。

- 是否存在用于制作表格,查看,查询的工具(用Python和OpenSource编写) ,数据库的关系和生成SQL脚本?


Rekall是最接近的。

- 从Python开始,是否可以使用sqlite?还有MsAccess?
Hello,
I am a VB6 programmer and I would like to learn a new high level
language (instead of restarting from scratch with .NET), wich is
opensource and cross-platform, in order to develop cross-platform
business applications
I think Python is the most suitable language for the scope.
My question are:

- Which version of python is more suitable for creating cross-platform
GUI''s? I''ve herard of PyGTK, wxPython, PyQT, tk, Anygui..
It''s a matter of taste. I like wxPython best. It would probably be
different if PyQT was also open-source on win32.
- What is the best IDE/RAD for Python (written in Python and OpenSource)
You should check out ERIC/Qt. If you need to target Windows, then you
can consider buying a win32 Qt/PyQt license.

The best IDE I''ve seen so far is WingIDE (commercial).
- Does exist a tool (written in Python and OpenSource) like Crystal
Report for creating business reports?
Reportlab is the closest I know.
- Does exist a tool (written in Python and OpenSource) for makeing
tables, view, querys, relation of a database and generate the SQL script?
Rekall is the closest.
- Is it possible, from Python, to work with sqlite? And with MsAccess?




是的。


pysqlite( http://pysqlite.org/) 和pyado,如果是MsAccess,则表示通过ADO使用JET引擎获得
。 br />

HTH,


- Gerhard



Yes.

pysqlite (http://pysqlite.org/), and pyado, if by MsAccess you mean
using the JET engine via ADO.

HTH,

-- Gerhard


试试PythonCard。它应该提供最简单的学习曲线给出你的VB背景。

Try PythonCard. It should provide the easiest learning curve given
your VB background.


Gerhard H?ring写道:
Gerhard H?ring wrote:
MarcoL写道:
MarcoL wrote:
我是一名VB6程序员,我想学习一种新的高级语言(而不是从头开始用.NET重新启动),是开源和跨平台,以开发跨平台的商业应用程序


对你有好处!而Python是一个不错的选择。 :)

我认为Python是最适合范围的语言。
我的问题是:

- 哪个版本的python更适合创建交叉平台
GUI'的?我有PyGTK,wxPython,PyQT,tk,Anygui等等。
这是一个品味问题。我最喜欢wxPython。如果PyQT在win32上也是开源的话可能会有所不同。
I am a VB6 programmer and I would like to learn a new high level
language (instead of restarting from scratch with .NET), wich is
opensource and cross-platform, in order to develop cross-platform
business applications
Good for you! And Python is a good choice. :)
I think Python is the most suitable language for the scope.
My question are:

- Which version of python is more suitable for creating cross-platform
GUI''s? I''ve herard of PyGTK, wxPython, PyQT, tk, Anygui..
It''s a matter of taste. I like wxPython best. It would probably be
different if PyQT was also open-source on win32.




请注意,这些并不是真正的Python版本。这些是不同的

Python绑定或库(以正常方式导入为模块和包),提供GUI设施。


对于跨平台的图形用户界面,wxPython似乎很受欢迎,尽管我自己也没有使用过它。我想用它。[/ b> b [snip snip]



Note that these are not really ''versions of Python''. These are different
Python bindings or libraries (that you import as modules and packages in
the normal way) that offer GUI facilities.

For cross-platform GUIs wxPython seems to be popular, though I''ve never
used it myself.

[snip snip]

- 从Python开始,是否可以使用sqlite?还有MsAccess?
- Is it possible, from Python, to work with sqlite? And with MsAccess?



是的。

pysqlite( http://pysqlite.org/) 和pyado,如果是MsAccess你的意思是通过ADO使用JET引擎。



Yes.

pysqlite (http://pysqlite.org/), and pyado, if by MsAccess you mean
using the JET engine via ADO.




Python几乎可以与任何数据库一起使用;很多都有

绑定。您也可以通过ODBC访问MsAccess,但是自从我这么做以来已经过了几年。


请参阅数据库主题指南:

http://www.python.org/topics/database /


这是一个数据库绑定列表:

http://www.python.org/topics/database/modules.html


问候,


Martijn



Python can basically work with virtually any database; there are
bindings for many. You can also access MsAccess through ODBC, though
it''s been a few years since I did that.

See the database topic guide:

http://www.python.org/topics/database/

And this is a list of database bindings:

http://www.python.org/topics/database/modules.html

Regards,

Martijn