473,890 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2330
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.i t> a écrit dans le message de news:
xZ************* *******@twister 1.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

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

Similar topics

9
6741
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 " would be renamed "test" (the 2 spaces before and after the filename removed). Any suggestions on how to do this? import os, re, string print " " print "--- Remove '%2f' From Filenames ---" print " "
2
2901
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 called ANSYS** Now, I have generated a python module using a *fortran-python interface
2
14365
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 because of a binary module which has to be compiled with Visual C 6. My scripts start with a '#!/usr/bin/env python' shebang, as God intended. Now, I assume I can make cmd.exe run foo.py by asociating *.py with the python interpreter.
1
1785
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 have no idea how to upgrade anything for freeBSD 4.4. I know there is are doc's available but I sure don't want to screw anything up on the freeBSD 4.4 server because I didn't understand what I was doing. Thanks John
13
3356
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
1540
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 testing and not perl or testit or example"
7
4877
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 DS1615 docs, writing to the chip is performed one byte at a time. To read from the chip, one must issue the "read page" command (33h), followed by the two-byte address of the requested page (pages are 32 bytes long). After receiving this, the...
13
4257
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 from the html page (replace the words in the html page with blank space) I'm new to python and could use a little push in the right direction, any ideas on how to implement this? Thanks!
7
20592
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 _Ron
1
2800
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 http://common-lisp.net/project/python-on-lisp/. It was quite easy to get it to run and do some simple things with python. However, I was unable to get sage to run within it. If I start my local python 2.5 and follow (roughly)
0
9976
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, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9815
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11215
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10801
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10904
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10449
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9616
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5834
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6034
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.