473,582 Members | 3,039 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1832
In message <ma************ *************** ***********@pyt hon.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.
Oct 19 '08 #2
2008/10/19 Lawrence D'Oliveiro <ld*@geek-central.gen.new _zealand>:
In message <ma************ *************** ***********@pyt hon.org>, Dotan
Cohen wrote:
>I often see mention of SMBs that either want to upgrade their Windows
installation s, 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************ *************** ***********@pyt hon.org>, Dotan
Cohen wrote:

>I often see mention of SMBs that either want to upgrade their Windows
installation s, 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**********@g mail.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**********@g mail.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**********@g mail.com>:
>Dotan Cohen wrote:
>>2008/10/19 Stef Mientki <st**********@g mail.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...@g mail.comwrote:
Lawrence D'Oliveiro wrote:
In message <mailman.2628.1 224335541.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

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

Similar topics

4
3834
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 less - during my own installation of Python 2.3 on Fedora Core 1 Linux for a friend of mine). Anyway, HTH, L.
0
1203
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 shell window GUI apps freeze and do not respond to internal widgets or window decoration. They also do not repaint. Only way to bail out is to restart...
31
2719
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, GTK or Qt-based). A web application will not do it (although I would love it). To make a long history short: I used to develop business apps for...
9
2039
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 it, import the module. That's it. Upon import it will assign sys.stderr. In the normal case, your code is perfect so nothing ever gets written to...
2
3835
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 the same as TKinter library is not available with JYthon. Can you please help me in porting Tkinter application to Jython? Also kindly let me...
2
3457
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 opened in shell/terminal program Konsole window like this user1@linux!~ - shell - Konsole Sessions View Bookmark Settings Help -first line in window...
0
1777
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 pyGTK applications at http://unpythonic.blogspot.com/2007/07/pygtk-py2exe-and-inno-setup-for-single.html
47
2335
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 and these 2 IDE (C++Builder and VisualC++) seems to be so far each other that I can hardly think to find out a tool to "automatically" perform...
0
1029
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 desktop application framework for Python (disclosure: I'm one of the authors). It allows you to visually create UIs that run unmodified on Windows,...
0
7886
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main...
0
8159
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8183
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6569
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5685
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3809
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3835
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1413
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.