Using python as primary language

Jens j3nsby at gmail.com
Thu Nov 8 07:41:33 EST 2007


On 8 Nov., 08:52, Michel Albert <exh... at gmail.com> wrote:
> In our company we are looking for one language to be used as default
> language. So far Python looks like a good choice (slacking behind
> Java). A few requirements that the language should be able cope with
> are:
>
> * Database access to Sybase.
>   This seems to be available for python, but the windows-binaries for
> the library
>   are not available. Self-Compiling them proved to be non-trivial (As
> always
>   on windows).
> * Easy GUI creation.
>   Solved using PyQt.
> * Cross Platform (Linux + Windows).
>   Again, PyQt, solves this
> * Easy deployment.
>   Solved using py2exe + innosetup
> * Charting (Histograms, Line charts, bar charts, pie charts, ...)
>   I am currently looking into PyQwt, which looks promising.
> * Report generation with GUI support
>   reportlab + rml?
>
> So far, nearly all point seems to be manageable. But I was not yet
> able to find a solution for the report generation. What we would like
> to have is a sort of GUI interface to prepare the reports without
> having to "code" the positioning. I found reportlab, and it looks like
> it can do all that is needed in terms of output. But you still have to
> code the report. And this is a no go. In context, I found RML and saw
> links to graphical RML editors. But I have not yet found a concrete
> example code, or documentation. What am I missing? Is RML a reportlab
> creation or is it a recognised open standard? If not, is there an open
> standard, that is easily to process with python?
>
> Any pointers? I would prefer coding Python to coding Java or
> worse..... VB ;) which is another contender in our roundup.

I've been using Java since 1998, and Python for just about a year.
I've tried to do an objective analysis of the two languages. Both
languages have good and weak points, but personally I'd choose Python.
In the end, its a matter of personal taste and preferences. They're
both good languages. Try them both and see which one you like. Also,
try to write a wishlist for what you'd like in a language, and then
compare the wishlist to Java and Python.

About graphing - you should really try the NumPy/Matplotlib
combination. Works similar to MatLab.

About VB - I've coded a lot of VB. It is a very easy language to start
out with and it's based on .NET. Again, it depends on your needs, but
make that wishlist and compare with Java and Python.

Good luck!




More information about the Python-list mailing list