wxPython还没有为商业用途做好准备 [英] wxPython Not Ready for Commercial Use

查看:200
本文介绍了wxPython还没有为商业用途做好准备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我错了,请纠正我。我非常依赖python和

wxpython gui apps。使用python应用程序一年后,我能够完成使用python编写的完美应用程序。一个大问题进入了我的注意力。印刷支持。是的,有报告。但是,如果您的客户想要模拟自定义的Excel输出并且将其转换为reportlab,那么

是什么?你不能100%做到这一点。有这么多

的缺点我不喜欢。我尝试使用excel

的xml文件并动态修改它来回答这个问题,但仍然不是一个非常好的解决方案。

我将水晶报告作为我理想的报告应用程序。来自

我的经历我无法为

商业应用打印出非常好的输出。如果有人能为我提供一个非常好的报告

应用程序可以集成在python中我必须说python可以

用于商业gui应用程序。如果不是那么我们都是正确的,python

适合培训目的但不适合生产。请

从您的选择中删除reportlab,因为我已经使用过它并且

无法像输出那样模拟excel,仍然可以做到,非常

困难的方式。我只是失望了,现在我正在努力学习c ++ / qt

来解决我的gui和打印问题。如果我错了请纠正我。

谢谢。

Please correct me if im wrong. I have depended much on python and
wxpython gui apps. After a year of using python apps I was able to do
good application written entirely in python. One big problem came into
my attention. The printing support. Yes, there was reportlab. But what
if your client wanted to simulate the customized excel output and have
it converted to reportlab. you cannot do it 100%. There are so many
drawbacks which I do not like. I tried to use the xml file of excel
and modify it on the fly to answer that problem but still not a very
good solution.

I am targetting crystal report as my ideal reporting application. From
my experiences I was not able to print a very good output for
commercial application. If anyone can provide me a very good reporting
application that can be integrated within python I must say python can
be used for commercial gui app. If not then we are all correct, python
is good for training purposes but not for production yet. Please
excempt reportlab from your choices as I have used it already and was
not able to simulate excel like output, still you can do it, the very
difficult way. I am just dissapointed, now I am trying to learn c++/qt
to solve my gui and printing problem. Please correct me if I am wrong.
Thanks.

推荐答案

Polerio Babao Jr.II写道:
Polerio Babao Jr.II wrote:
如果我错了,请纠正我。我非常依赖python和
wxpython gui应用程序。使用python应用程序一年后,我能够完成用python编写的好应用程序。一个大问题是我的注意力。印刷支持。是的,有报告。但是,如果您的客户想要模拟自定义的Excel输出并将其转换为reportlab,那该怎么办?你不能100%做到这一点。我不喜欢这么多的缺点。我试着使用excel的xml文件
并动态修改它来回答这个问题,但仍然不是一个非常好的解决方案。

我的目标是将水晶报告作为我的目标理想的报告应用。


您是否看过任何支持

ActiveX接口的第三方产品?当然有这样的东西,他们

可以很容易地与wxPython应用程序集成。

如果没有那么我们都是正确的,python
有利于培训目的但是还没有用于生产。
Please correct me if im wrong. I have depended much on python and
wxpython gui apps. After a year of using python apps I was able to do
good application written entirely in python. One big problem came into
my attention. The printing support. Yes, there was reportlab. But what
if your client wanted to simulate the customized excel output and have
it converted to reportlab. you cannot do it 100%. There are so many
drawbacks which I do not like. I tried to use the xml file of excel
and modify it on the fly to answer that problem but still not a very
good solution.

I am targetting crystal report as my ideal reporting application.
Have you looked at any third-party products which support
an ActiveX interface? Surely there are such things and they
could easily be integrated with a wxPython app.
If not then we are all correct, python
is good for training purposes but not for production yet.




考虑到实际使用它进行生产使用的人数,

这个荒谬的声明显然必须是

会引起回应,而不是表明你的责任是一个严重的要求。哎呀,如果你使用它超过一年而且它只适合训练,那就是你脸上的鸡蛋,不是吗?

-Peter



Given the number of people actually using it for production use,
this ludicrous statement clearly must have been intended to
provoke a response, rather than to indicate a serious claim on
your part. Heck, if you used it for over a year and it''s only
suitable for training, that''s egg on your face, isn''t it?

-Peter


Polerio Babao Jr.II写道:
Polerio Babao Jr.II wrote:
我的注意力。印刷支持。是的,有报告。但是,如果您的客户想要模拟自定义的Excel输出并将其转换为reportlab,那该怎么办?你不能100%做到这一点。有这么多
my attention. The printing support. Yes, there was reportlab. But what
if your client wanted to simulate the customized excel output and have
it converted to reportlab. you cannot do it 100%. There are so many



我认为能够轻松精确地再现其他软件包的输出几乎无法衡量任何语言成熟。


Istvan。



I think the ability to easily and precisely reproduce of output of
other software packages is hardly a measure of any language maturity.

Istvan.


Polerio Babao Jr.II写道:
Polerio Babao Jr.II wrote:
如果我错了请纠正我。


我相信你*错了。

一个大问题引起了我的注意。打印支持。


以可靠的跨平台方式打印是一个难题,这是(我相信)为什么wxWidgets / wxPython中的支持与它的屏幕显示支持不一样。

级别。但*有*(IMO)合理的

解决方案。

但是如果你的客户想要模拟定制的excel输出怎么办


假设你的目标是Windows,这里有几个解决方案

。也许最简单的方法是使用pythonCOM或

pyXLWriter( http ://sourceforge.net/projects/pyxlwriter/ )获取Excel

来为您处理输出。我怀疑这些方法中的任何一种

都比编写Excel-xml简单。

我将水晶报告作为我理想的报告应用程序。

Crystal Reports是否提供COM自动化API?如果是这样,你可以直接使用

* it *(通过pythonCOM)。

...现在我正在尝试学习c ++ / qt来解决我的gui和打印问题。
Please correct me if im wrong.

I believe that you *are* wrong.
One big problem came into my attention. The printing support.

Printing in a reliable cross-platform way is a hard problem, which is (I
believe) why the support in wxWidgets/wxPython is not up to the same
level as its screen-display support. But there *are* (IMO) reasonable
solutions.
But what if your client wanted to simulate the customized excel output

Presuming that you''re targetting Windows, there''s a couple of solutions
here. Perhaps the simplest would be to use either pythonCOM or
pyXLWriter ( http://sourceforge.net/projects/pyxlwriter/ ) to get Excel
to handle the output for you. I suspect that either of these methods
would be simpler than writing Excel-xml.
I am targetting crystal report as my ideal reporting application.

Does Crystal Reports offer a COM automation API? If so, you could use
*it* directly (via pythonCOM).
... now I am trying to learn c++/qt to solve my gui and printing problem.




在我看来,这里所付出的努力将比在wxPython下定制你的打印所需的工作量大得多。并且

而我不知道什么样的内置打印支持(如果有的话)QT

可能有,我不认为改变语言收益什么都有(最好是
,你可以直接从Python访问win32api打印电话;

所有使用c ++的人都会获得你不同的库选择,

可能会或可能不会帮助很多。)


Jeff Shannon

技术员/程序员

Credit International



Seems to me that the effort involved here would be rather greater than
the effort involved in customizing your printing under wxPython. And
while I don''t know what sort of built-in printing support (if any) QT
may have, I don''t think that changing languages gains you anything. (At
worst, you can access the win32api printing calls directly from Python;
all that using c++ would gain you is a different selection of libraries,
which may or may not help very much.)

Jeff Shannon
Technician/Programmer
Credit International


这篇关于wxPython还没有为商业用途做好准备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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