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

Application Development in Python


Hi all,
I am new to Python programming. I am from C,C++,Perl background. I am
quite convinced by the possibilities python as a very high level
language is offering. I am seriously thinking of using python in my
project which is to create a accounting software. First thing came to my
mind was C++ but the time required could be enormous and my people are
not ready to wait that long. The project is a medium sized one but
bigger than something like gnucash and KMyMoney2. Do any body have
experience with application development using python and their
experiences ?. Also please advice me whether Python can be used for
such purposes.
Thanks in advance
Indru

--
Posted via http://dbforums.com
Jul 18 '05 #1
4 2307
On Wed, Jul 09, 2003 at 08:22:16AM +0000, indru wrote:

Hi all,
I am new to Python programming. I am from C,C++,Perl background. I am
quite convinced by the possibilities python as a very high level
language is offering. I am seriously thinking of using python in my
project which is to create a accounting software. First thing came to my
mind was C++ but the time required could be enormous and my people are
not ready to wait that long. The project is a medium sized one but
bigger than something like gnucash and KMyMoney2. Do any body have
experience with application development using python and their
experiences ?. Also please advice me whether Python can be used for
such purposes.
Thanks in advance
Indru


Yes you can use python for application development. I have created an
application that generated various reports, certificates, interacts with
database and provides a GUI, all in python :-). For GUI I used Tkinter
but you can use any other library as per your choice. I haven't done any
project like accounting package. But I am sure you can easily do that in
python and in a very less time as compared to developing that in C++.
Moreover you get os independent code free of cost with Python :-).

Regards
Vivek Kumar

Jul 18 '05 #2
On Wednesday 09 July 2003 04:22, indru wrote:
Hi all,
I am new to Python programming. I am from C,C++,Perl background. I am
quite convinced by the possibilities python as a very high level
language is offering. I am seriously thinking of using python in my
project which is to create a accounting software. First thing came to my mind was C++ but the time required could be enormous and my people are
not ready to wait that long. The project is a medium sized one but
bigger than something like gnucash and KMyMoney2. Do any body have
experience with application development using python and their
experiences ?. Also please advice me whether Python can be used for
such purposes.
Thanks in advance
Indru

Of course!

I wrote a 24,000 Python program that uses pygtk/gnome (interfaces were
created with glade) and postgresql. It's a patient database/accounting
package for my wife's optometric office. It does double entry
accounting to handle all the monetary transactions and generate
reports for their accountant. It also keeps track of their frame
inventory, does insurance reimbursement calculations for the
insurances they accept, and many, many, other things. About 1,000 of
that 24,000 lines of code is strings that hold PostScript code for
printing out receipts, etc.

It took me about 300 hours including design time. I've got 22 years of
programming experience (the last 3.5 years almost exclusively in
Python) so YMMV on coding time. I use gnucash for my personal finances
and IMO, the system I wrote is more complex than a basic accounting
system such as gnucash (which I use for my personal finances),
although using Postgresql to store all the data greatly reduces the
amount of code you have to write to manipulate the data. So my guess
is fairly full featured accounting system could be written in less
than 24,000 lines of Python code if you use a database to store all
the actual data.

Also note that using the database for manipulating the data makes the
speed very acceptable. I'm almost certain that manipulating the data
in Python would be way too slow to make it usable (e.g., generating a
balance sheet that looks through all the transactions and groups them
by account in Python would be much slower than using sql commands to
do that).

Have fun!

Dave

Jul 18 '05 #3
On Wednesday 09 July 2003 10:37, John Hunter wrote:
>> "Dave" == Dave Reed <dr*****@columbus.rr.com> writes:


Dave> Also note that using the database for manipulating the data
Dave> makes the speed very acceptable. I'm almost certain that
Dave> manipulating the data in Python would be way too slow to
Dave> make it usable (e.g., generating a balance sheet that looks
Dave> through all the transactions and groups them by account in
Dave> Python would be much slower than using sql commands to do
Dave> that).

I'm not arguing that the dbase isn't the way to go, but if you wanted
to do the manipulations in python, the Numeric package certainly
provides the speed you need to manipulate large quantities of data
rapidly. I sometimes use a C extension to put data from an SQL
database directly into Numeric arrays and then manipulate the data in
python.

John Hunter


Yes, Numeric is great for numeric data. The data I have is a mix of
numeric and text data (for example, patient name, frame description,
etc.). The other benefit of using the database is it provides
automatic persistence (permanent storage) and atomic transaction
processing. And of course sql statements allow you to easily get the
data you want using joins, group by, and order by.

Dave

Jul 18 '05 #4
I suggest you to look at Kiwi, in http://www.async.com.br/kiwi... it's
a framework for quick application development, based on PyGTK and
Glade... the stable version currently only supports GTK 1.2, but I
think it's worth a look...

indru <__************@yahoo.com____> wrote in message news:<30****************@dbforums.com>...
Hi all,
I am new to Python programming. I am from C,C++,Perl background. I am
quite convinced by the possibilities python as a very high level
language is offering. I am seriously thinking of using python in my
project which is to create a accounting software. First thing came to my
mind was C++ but the time required could be enormous and my people are
not ready to wait that long. The project is a medium sized one but
bigger than something like gnucash and KMyMoney2. Do any body have
experience with application development using python and their
experiences ?. Also please advice me whether Python can be used for
such purposes.
Thanks in advance
Indru

Jul 18 '05 #5

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

Similar topics

2
by: Kornl | last post by:
Hello, does anyone has any experience in developing n-tier applications in python? If yes would you like to share your experience? What turn out good and bad?? In your experience, how is a python...
14
by: BOOGIEMAN | last post by:
Well that's it, how do I make Windows Application with Python ??? Is there simple way that works 100% ? How can I rework visual design done in VS 2003 to use it for my python program ?
17
by: Arthur van Dorp | last post by:
Hi all This is a bit off topic but I don't know where else to ask (please tell me if you know). I'm going to build a web application. The choice of the underlying database wasn't difficult....
38
by: vinjvinj | last post by:
I haven't used an IDE in a long time but gave wing ide a try because I wanted the same development platform on Linux and Windows. I'm currently using Ultraedit and it works fine but needed...
15
by: limeydrink | last post by:
Hi all, I want to create a mobile field worker data solution. Let me explain... I work for a company that has some software used by call takers to enter information into a database about...
2
by: Podi | last post by:
I followed the instructions from http://starship.python.net/crew/theller/moin.cgi/SingleFileExecutable Copied the second setup.nsi, setup.py, single.py and everything works like a champ. I...
4
by: MrBlueSky | last post by:
Hello! I've just finished working on my first Python app (a Tkinter-based program that displays the content of our application log files in graphical format). It was a great experience that's...
0
by: Kenneth McDonald | last post by:
Sorry for crossposting to several lists, but from what I can tell, what I want to do may involve several different areas of expertise. (None of which I have :-( ) I'd like to use Gecko as the UI...
7
by: james_027 | last post by:
Hi, I am using delphi to develop gui application, and wish to make a shift to python. here are some of my question/concern... 1. is python develop gui application a cross platform? just like...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
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...
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: 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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.