473,395 Members | 1,978 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,395 software developers and data experts.

from vb6 to Python

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.
Jul 18 '05 #1
13 2281
MarcoL wrote:
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?


Yes.

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

HTH,

-- Gerhard
Jul 18 '05 #2
Try PythonCard. It should provide the easiest learning curve given
your VB background.

Jul 18 '05 #3
Gerhard Häring wrote:
MarcoL wrote:
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.


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]
- Is it possible, from Python, to work with sqlite? And with MsAccess?


Yes.

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


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
Jul 18 '05 #4
Gerhard Häring wrote:
MarcoL wrote:
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.


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]
- Is it possible, from Python, to work with sqlite? And with MsAccess?


Yes.

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


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
Jul 18 '05 #5
Hi,
I have used VB6 a lot too and Python appears to me as a good alternative to
..net too, but
the thing that will do the difference is the GUI... I hope the ones for
Python are beautifull enough as appearence is an important thing to me in
softwares.
D.

"MarcoL" <ml****@email.it> a écrit dans le message de news:
xZ********************@twister1.libero.it...
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.

Jul 18 '05 #6

MarcoL wrote:
Hello,
I am a VB6 programmer and I would like to learn a new high level
language (instead of restarting from scratch with .NET...


I'd like to add that by going with Python, you'll also be able to
develop for .NET. Check this out: www.ironpython.com .
Since the development of Ironpython is now being funded by Microsoft,
you'll get the best of both worlds: An already excellent
cross-platform, object oriented language and a fully compliant .NET
language for Windows and Linux (through Mono and DotGnu).

For now, I suggest using PythonCard for building GUI apps. It is *very*
easy to learn and use, especially for someone coming from VB6.

Jul 18 '05 #7
Luis M. Gonzalez wrote:
MarcoL wrote:
Hello,
I am a VB6 programmer and I would like to learn a new high level
language (instead of restarting from scratch with .NET...

I'd like to add that by going with Python, you'll also be able to
develop for .NET. Check this out: www.ironpython.com .
Since the development of Ironpython is now being funded by Microsoft,
you'll get the best of both worlds: An already excellent
cross-platform, object oriented language and a fully compliant .NET
language for Windows and Linux (through Mono and DotGnu).


Unfortunately this is currently not near production use, and whether
Microsoft is funding IronPython development is up in the air:

One IronPython fan noted a disconcerting silence in IronPython development:

http://usefulinc.com/edd/blog/conten...12/09-jvm/read

Of course it'll all resolve itself one way or another eventually, just
wanted to correct the impression that IronPython is ready to go already.

Regards,

Martijn
Jul 18 '05 #8
MarcoL wrote:
Hello,
I am a VB6 programmer and I would like to learn a new high level .... My question are:
.... - What is the best IDE/RAD for Python (written in Python and OpenSource)

Can anybody tell me anything about the IDE Spe?

Thanks

Marco
Jul 18 '05 #9
MarcoL wrote:
MarcoL wrote: <<snip>> Can anybody tell me anything about the IDE Spe?

Thanks

Marco


http://projects.blender.org/projects/spe/
and
http://projects.blender.org/mailman/listinfo/spe-user

should cover most questions

--
Nigel Rowe
A pox upon the spammers that make me write my address like..
rho (snail) swiftdsl (stop) com (stop) au
Jul 18 '05 #10

Martijn Faassen wrote:
Unfortunately this is currently not near production use, and whether
Microsoft is funding IronPython development is up in the air:


It's true that he Ironpython's mailing list is a little bit innactive,
but this is just because there's only one person in charge of
Ironpython at this moment (although Microsoft was looking to hire a new
developer to help on this). However, the innactivity is due to the fact
that Jim Hugunin, its developer, has begun working for MS just a couple
of months ago, and as he says, there are tons of new CLR features to
learn that are applicable to dynamic languages.

You should also give credit to Jim: he's the man who developed Jython,
which is a complete inplementation of Python written in Java.
He also created Numeric and co-authored Aspect, another programming
language.
So I'm sure that Ironpython will be a reality soon, and a very good
one...

Jul 18 '05 #11
Martijn Faassen wrote:
Unfortunately this is currently not near production use, and whether Microsoft is funding
IronPython development is up in the air:


http://www.microsoft.com/careers/sea...f-cecb0acf86e0

(too bad it's in seattle)

</F>

Jul 18 '05 #12
Luis M. Gonzalez wrote:
Martijn Faassen wrote:
Unfortunately this is currently not near production use, and whether
Microsoft is funding IronPython development is up in the air:
It's true that he Ironpython's mailing list is a little bit innactive,
but this is just because there's only one person in charge of
Ironpython at this moment (although Microsoft was looking to hire a new
developer to help on this).


A new developer is interesting news and makes it more likely the future
funding status is assured.
However, the innactivity is due to the fact
that Jim Hugunin, its developer, has begun working for MS just a couple
of months ago, and as he says, there are tons of new CLR features to
learn that are applicable to dynamic languages.
I realize that, and I'm sure that impacts things. That doesn't change
the fact that IronPython as it stands now isn't done, and there isn't a
clear idea of what will happen. Talk about "open source doesn't have a
clear roadmap"; that seems to be true at least if Microsoft is doing the
open source. ;)
You should also give credit to Jim: he's the man who developed Jython,
which is a complete inplementation of Python written in Java.
He also created Numeric and co-authored Aspect, another programming
language.
I know who Jim is, and he deserves plenty of credit. I'm just passing
along the concerns of a major IronPython fan, who doesn't know what's up
himself and wants to fork the code. That's at the very least not a sign
of good community management. :)
So I'm sure that Ironpython will be a reality soon, and a very good
one...


I was pointing out that IronPython is *not* a reality right now, which
is the impression that was being given to a newbie before. I wanted to
counter an impression that might cause newbies to struggle with
IronPython only to find out it's not ready yet. Whether IronPython will
be mature soon is open for debate.

Regards,

Martijn
Jul 18 '05 #13
There is a really good IDE for python - wxpython - wxwidgets called boa
constructor. It is very 'Visual Basic like'.

http://boa-constructor.sourceforge.net/

I highly recommend it. I works well whether you want to use the built
in features to create applications - or 'do it yourself'. It even has
built in debugging - oh - and it runs on Windows and Linux (probably
even Mac).

Enjoy!

David Lawler
(Signature removed for your protection)

Jul 18 '05 #14

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

Similar topics

9
by: hokiegal99 | last post by:
This script works as I expect, except for the last section. I want the last section to actually remove all spaces from the front and/or end of filenames. For example, a file that was named " test ...
2
by: satish | last post by:
Hello all, I have a shared object executable viz. *cable* which I execute as follows : $ ansyscust71 -custom cable -p ANSYSRF **ansyscust71 is a shell script and is a part of a software...
2
by: Jorgen Grahn | last post by:
I couldn't think of a good solution, and it's hard to Google for... I write python command-line programs under Win2k, and I use the bash shell from Cygwin. I cannot use Cygwin's python package...
1
by: John fabiani | last post by:
Hi, I have a script that is not running on a freeBSD 4.4 with Python 2.1 that uses ftplib. I'm wondering if it's possible to update only the ftplib module from 2.1 to 2.3. I only ask because I...
13
by: Ajay | last post by:
hi! can you call a Python application from a Java program? does this require any additional package to be installed? thanks cheers
9
by: Nico Grubert | last post by:
Hi there, Background of this question is: I want to convert all words <word> except 'and' / 'or' / 'and not' from a string into '*<word>*'. Example: I have the following string: "test and...
7
by: alexandre_irrthum | last post by:
Hi there, I am trying to use pyserial to read data from a temperature logger device (T-logger). T-logger is based on the DS1615 temperature recorder chip (Dallas Semiconductor). According to the...
13
by: DH | last post by:
Hi, I'm trying to strip the html and other useless junk from a html page.. Id like to create something like an automated text editor, where it takes the keywords from a txt file and removes them...
7
by: Ron Adam | last post by:
from __future__ import absolute_import Is there a way to check if this is working? I get the same results with or without it. Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) on win 32 ...
1
by: Martin Rubey | last post by:
Dear all, I'm trying to call from common lisp functions written for Sage (www.sagemath.org), which in turn is written in python. To do so, I tried...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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 project—planning, coding, testing,...

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.