473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Porting VB apps to Python for Window / Linux use

I often see mention of SMBs that either want to upgrade their Windows
installations, or move to Linux, but cannot because of inhouse VB
apps. Are there any Python experts who I can reference them to for
porting? I have nothing on hand at the moment, but I see this as a
need without an obvious answer.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü
Oct 18 '08 #1
19 1816
In message <ma**************************************@python.o rg>, Dotan
Cohen wrote:
I often see mention of SMBs that either want to upgrade their Windows
installations, or move to Linux, but cannot because of inhouse VB
apps.
Probably best to leave those legacy VB apps alone and develop new
replacements in a more open, cross-platform language, like Python.
Oct 19 '08 #2
2008/10/19 Lawrence D'Oliveiro <ld*@geek-central.gen.new_zealand>:
In message <ma**************************************@python.o rg>, Dotan
Cohen wrote:
>I often see mention of SMBs that either want to upgrade their Windows
installations, or move to Linux, but cannot because of inhouse VB
apps.

Probably best to leave those legacy VB apps alone and develop new
replacements in a more open, cross-platform language, like Python.
That is quite the reason why I asked here, so that I could find
someone who can port these things to Python.

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü
Oct 19 '08 #3
Lawrence D'Oliveiro wrote:
In message <ma**************************************@python.o rg>, Dotan
Cohen wrote:

>I often see mention of SMBs that either want to upgrade their Windows
installations, or move to Linux, but cannot because of inhouse VB
apps.

Probably best to leave those legacy VB apps alone and develop new
replacements in a more open, cross-platform language, like Python.
Sorry but for GUI design, Python is pre-historic ;-)
Stef
Oct 19 '08 #4
2008/10/19 Stef Mientki <st**********@gmail.com>:
Sorry but for GUI design, Python is pre-historic ;-)
Stef
Really, even with the cross-platform Qt bindings?

Can you recommend a better language? (not java no please not java)

--
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-*-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

ä-ö-ü-ß-Ä-Ö-Ü
Oct 19 '08 #5
Dotan Cohen wrote:
2008/10/19 Stef Mientki <st**********@gmail.com>:
>Sorry but for GUI design, Python is pre-historic ;-)
Stef

Really, even with the cross-platform Qt bindings?
I skipped Qt because of the weird license
(I make both commercial and free-open software)
Can you recommend a better language? (not java no please not java)

As said VB or even much better Delphi !

But to be honest,
wanting the same language for commercial and open software,
I'm very satisfied with Python, and must say it's much more beautiful
language than Delphi, seen over the full width of programming.
Although both languages are Object Oriented,
for some (unknown) reason it's 10 times easier to maintain and extend
libraries in Python than in Delphi.
I WOULD BE MUCH OBLIGED, IF SOMEONE CAN EXPLAIN THAT DIFFERENCE !
And with wxPython and some tools I made, I almost have the same
environment as Delphi.
cheers,
Stef
Oct 19 '08 #6
Il Sun, 19 Oct 2008 10:34:23 +0200, Stef Mientki ha scritto:

....

I'm very
satisfied with Python, and must say it's much more beautiful language
than Delphi, seen over the full width of programming. Although both
languages are Object Oriented, for some (unknown) reason it's 10 times
easier to maintain and extend libraries in Python than in Delphi.
I WOULD BE MUCH OBLIGED, IF SOMEONE CAN EXPLAIN THAT DIFFERENCE ! And
with wxPython and some tools I made, I almost have the same environment
as Delphi.
IMO:
- dynamic typing
- powerful built-in types like lists, sets and dictionaries
- very rich function definition syntax, with multiple returns,
yield, values passed by position and by name, automatic
grouping of parameters in list/dictionaries
- rich standard library, which becomes impressive if you accound for all
the non standard modules that you find in internet. And, unlike another
language wich shall remain unnamed (starts with J), most of python
library modules have the same pratical approach of C standard
library.

Never used seriously delphi, but played a little with it: IIRC, under the
nice IDE and GUI toolkit, the language itself is a kind of object-pascal.
This would place it more or less at the same level of abstraction of
Java, way below languages like python and ruby,
Ciao
-----
FB

Oct 19 '08 #7
Dotan Cohen wrote:
2008/10/19 Stef Mientki <st**********@gmail.com>:
>Dotan Cohen wrote:
>>2008/10/19 Stef Mientki <st**********@gmail.com>:
Sorry but for GUI design, Python is pre-historic ;-)
Stef
Really, even with the cross-platform Qt bindings?

I skipped Qt because of the weird license
(I make both commercial and free-open software)
>>Can you recommend a better language? (not java no please not java)
As said VB or even much better Delphi !

But to be honest,
wanting the same language for commercial and open software,
I'm very satisfied with Python, and must say it's much more beautiful
language than Delphi, seen over the full width of programming.
Although both languages are Object Oriented,
for some (unknown) reason it's 10 times easier to maintain and extend
libraries in Python than in Delphi.
I WOULD BE MUCH OBLIGED, IF SOMEONE CAN EXPLAIN THAT DIFFERENCE !
And with wxPython and some tools I made, I almost have the same environment
as Delphi.


Really, you recommend that VB apps destined for migration be recoded
in Delphi, as opposed to Python?
Certainly not.
Delphi is windows only and as Francesco said,
it's just Object Pascal , which is inferior to Python.

Stef
I will look further into that
language.

Oct 19 '08 #8
Francesco Bochicchio wrote:
Il Sun, 19 Oct 2008 10:34:23 +0200, Stef Mientki ha scritto:

...

I'm very
>satisfied with Python, and must say it's much more beautiful language
than Delphi, seen over the full width of programming. Although both
languages are Object Oriented, for some (unknown) reason it's 10 times
easier to maintain and extend libraries in Python than in Delphi.
I WOULD BE MUCH OBLIGED, IF SOMEONE CAN EXPLAIN THAT DIFFERENCE ! And
with wxPython and some tools I made, I almost have the same environment
as Delphi.


IMO:
- dynamic typing
- powerful built-in types like lists, sets and dictionaries
- very rich function definition syntax, with multiple returns,
yield, values passed by position and by name, automatic
grouping of parameters in list/dictionaries
- rich standard library, which becomes impressive if you accound for all
the non standard modules that you find in internet. And, unlike another
language wich shall remain unnamed (starts with J), most of python
library modules have the same pratical approach of C standard
library.

Never used seriously delphi, but played a little with it: IIRC, under the
nice IDE and GUI toolkit, the language itself is a kind of object-pascal.
This would place it more or less at the same level of abstraction of
Java, way below languages like python and ruby,
Thanks Francesco,
for these features and indeed the Object Pascal language is indeed
inferior to Python.
Some of Python features that I find an enormous improvement over Delphi:
- extending functions and classes with keyword arguments, without
affecting the previous use of these declarations
- array slicing
- having 1 procedure that can handle every type, opposed to the Delphi
overload method

Some minor points of Python, compared to Delphi
- rich standard library is less than in Delphi. It might be just as
large, but using it is a crime (Delphi libs always work because they are
upwards compatible)
- GUI design
- deploying an application

cheers,
Stef
>
Ciao
-----
FB

--
http://mail.python.org/mailman/listinfo/python-list
Oct 19 '08 #9
On Oct 19, 12:51*am, Stef Mientki <stef.mien...@gmail.comwrote:
Lawrence D'Oliveiro wrote:
In message <mailman.2628.1224335541.3487.python-l...@python.org>, Dotan
Cohen wrote:
I often see mention of SMBs that either want to upgrade their Windows
installations, or move to Linux, but cannot because of inhouse VB
apps.
Probably best to leave those legacy VB apps alone and develop new
replacements in a more open, cross-platform language, like Python.

Sorry but for GUI design, Python is pre-historic ;-)
Stef
Some folks below mention wxPython, which (I think) works pretty
decently.

Another option is IronPython, the dot net based version of Python.
Much of it runs under Mono on Linux. The dot Net Windows and controls
look decent in both environments (Windows and Linux), and aren't that
difficult to code.

IronPython has a mailing list; you might want to cross-post there.
Oct 19 '08 #10
Stef Mientki:
it's just Object Pascal , which is inferior to Python.
They are quite different languages, you can't compare them in a simple
way.
Delphi is statically typed, and compiles very quickly producing
"small" exes; "algorithmic" code can run a hundred times faster than
Python code. There are lot of people still that think that a
statically typed language is safer.
Delphi is kinda old, so today there are better languages than Delphi
(like D), but when Delphi 2-3 was out, there weren't many other
languages with IDEs at its level, especially for programs with a nice
GUIs plus interfaces with DBMSs. Today you can write programs with
FreePascal, that is free. Bashing other languages doesn't make Python
any better.

Bye,
bearophile
Oct 19 '08 #11
Quoting be************@lycos.com:
Stef Mientki:
>it's just Object Pascal , which is inferior to Python.

They are quite different languages, you can't compare them in a simple
way.
Delphi is kinda old, so today there are better languages than Delphi
(like D), but when Delphi 2-3 was out, there weren't many other
languages with IDEs at its level, especially for programs with a nice
GUIs plus interfaces with DBMSs.
I have programmed Delphi for years.. and was pretty much forced to
move to python for different reasons.

I would go along best with the description of delphi being "old". It
was great in its time... and had many advancements over others. Still
has some things that I would dearly love in python... like "skinned"
gui applications.

As for porting... don't.

Just rewrite them....

Shouldn't be so hard...

David


Oct 19 '08 #12
Bruno Desthuilliers wrote:
Stef Mientki a crit :
>Lawrence D'Oliveiro wrote:
>>In message <ma**************************************@python.o rg>, Dotan
Cohen wrote:
I often see mention of SMBs that either want to upgrade their Windows
installations, or move to Linux, but cannot because of inhouse VB
apps.
Probably best to leave those legacy VB apps alone and develop new
replacements in a more open, cross-platform language, like Python.
Sorry but for GUI design, Python is pre-historic ;-)

Time to show the "don't feed the troll" sign, I guess.
Even without the smiley, I'm convinced of my statement.
cheers,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
Oct 20 '08 #13
Stef Mientki <st**********@gmail.comwrites:

Sorry but for GUI design, Python is pre-historic ;-)
Time to show the "don't feed the troll" sign, I guess.
Even without the smiley, I'm convinced of my statement.
cheers,
I don't think I'm feeding the troll, but - ever took a look at PyQt?
Oct 20 '08 #14
Ville M. Vainio wrote:
Stef Mientki <st**********@gmail.comwrites:
>>>Sorry but for GUI design, Python is pre-historic ;-)

Time to show the "don't feed the troll" sign, I guess.
Even without the smiley, I'm convinced of my statement.
cheers,

I don't think I'm feeding the troll, but - ever took a look at PyQt?
I wanted to go from Delphi to a free / open source environment,
for both open source and commercial applications.
So the Qt license stopped me from looking any further.

cheers,
stef
--
http://mail.python.org/mailman/listinfo/python-list
Oct 20 '08 #15
In message <ma**************************************@python.o rg>,
da********@preisshare.net wrote:
Still has some things that I would dearly love in python... like "skinned"
gui applications.
That's a function of the GUI toolkit, not of the language. Python doesn't
make you use any GUI toolkit, nor does it prevent you from using any GUI
toolkit. It concentrates on the stuff a language should do, nothing more,
nothing less.
Oct 21 '08 #16
On 2008-10-20, Stef Mientki <st**********@gmail.comwrote:
>I don't think I'm feeding the troll, but - ever took a look at
PyQt?

I wanted to go from Delphi to a free / open source
environment, for both open source and commercial applications.

So the Qt license stopped me from looking any further.
The Qt license is still free/open-source for commercial
applications as long as you license your app under the GPL.

Did you mean to say for both open source and closed source
applications?

--
Grant

Oct 21 '08 #17
Grant Edwards wrote:
On 2008-10-20, Stef Mientki <st**********@gmail.comwrote:

>>I don't think I'm feeding the troll, but - ever took a look at
PyQt?
I wanted to go from Delphi to a free / open source
environment, for both open source and commercial applications.

So the Qt license stopped me from looking any further.

The Qt license is still free/open-source for commercial
applications as long as you license your app under the GPL.

Did you mean to say for both open source and closed source
applications?

Yes,
although I realize closed source is not completely possibly in Python,
but that's no problem if the program is large/complex enough compared to
it's market value ;-)

cheers,
Stef
Oct 21 '08 #18
In message <ma**************************************@python.o rg>, Stef
Mientki wrote:
... although I realize closed source is not completely possibly in Python,
but that's no problem if the program is large/complex enough compared to
it's market value ;-)
Software has no market value. Business models that try to assign it one are
doomed to fight an uphill battle against market forces.
Oct 26 '08 #19
Lawrence D'Oliveiro <ld*@geek-central.gen.new_zealandwrites:
Software has no market value. Business models that try to assign it
one are doomed to fight an uphill battle against market forces.
+1 QOTW.

--
\ “Yesterday I told a chicken to cross the road. It said, ‘What |
`\ for?’” —Steven Wright |
_o__) |
Ben Finney
Oct 27 '08 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
0
by: Ted Gill | last post by:
Platform: Windows ME Python version: 2.3.2-1 Problem: Running GUI apps in Idle does not work. When executing GUI (tkinter/pmw) apps from the edit windows or doing an "import <file>" in the...
31
by: Carlos Ribeiro | last post by:
Hello all. I'm in the process of writing a business app in Python. (defining business app: data entry, validation, interactive reports, etc). For my purposes, it must be a native app (wxWidgets,...
9
by: Bryan Olson | last post by:
Here's a module to show stderr output from console-less Python apps, and stay out of the way otherwise. I plan to make a ASPN recipe of it, but I thought I'd run it by this group first. To use...
2
by: sandip desale | last post by:
Dear All, We have a Tcl/Tk application written using Python 2.2. Using this application we want to call some customizable Java APIs. I tried porting Tcl/Tk application to Jython but not able to do...
2
by: enquiring mind | last post by:
-learning python with limited knowledge of linux. -get error msg 21 "file or directory does not exist" -running Suse linux 10. -haven't had a problem before - rebooted several times. -python...
0
by: Michael Palmer | last post by:
On Sep 16, 12:30 pm, binaryjesus <coolman.gu...@gmail.comwrote: I haven't tried it myself, but I came across a blog post the other day that describes a way of building windows installers for...
47
by: =?Utf-8?B?ZW1hdmlzdQ==?= | last post by:
Dear guys, I'm in trouble having to port my project from C++Builder6 to VisualC++. Has anyone of you idea if there are any tools to help my doing this job? My current project is widely using VCL...
0
by: Ed Leafe | last post by:
On Oct 18, 2008, at 8:12 AM, Dotan Cohen wrote: Sorry for the delay in responding, but someone just pointed out this post to me. You might want to take a look at Dabo, which is an integrated...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.