January 2nd, 2003, 05:05 PM
I'd like to know such thing from people actively using Python in their projects.
Which benefits could give me this prog. language by using of them? Does it able to develop:
- full-functional client-server DB aplications (is it able to connect to famous SQL-servers?);
- desktop GUI DB applications (to work with local DBs like dbf);
- CGI-applications with such convinience like PHP?
Maybe you may point me to another useful Python's features?
PS: Sorry my poor English.
January 2nd, 2003, 07:39 PM
Yay, a Python post!
Actually my biggest Python project to date uses 2 out of those 3 things. I'm talking about moobot an IRC bot that I'm pretty much now the sole maintainer of. It uses a database (MySQL or PostgreSQL, your choice) rather extensively in a huge portion of its modules, and its performance is definitely more than adequate for an IRC bot I'm not sure what you mean by "GUI DB applications" however ... could you clarify? And as far as CGI stuff, I've created several CGI scripts that give some statistics for moobot all in Python as well. So, it works for what you need.
Now, as to what else makes Python great Put simply - it's insanely easy to read, easy to learn, scales well, performs well for being interpreted, and is incredibly well-documented. I could go into further detail if you like, but I think that's enough
January 3rd, 2003, 07:14 AM
Thank you for your answer!
I meant not console apps for working with desktop databases (not any SQL-servers).
January 3rd, 2003, 08:18 PM
Erm, okay, those would be several different components - yes Python supports several GUI toolkits, yes Python supports several non-SQL database formats (never heard of dbf, but it supports bsddb, gdbm, cdb, and others)
January 4th, 2003, 12:35 AM
Maybe there are some additional unit to support this?
January 4th, 2003, 12:56 AM
January 4th, 2003, 10:30 AM
FYI - .dbf is the file format for xBase type databases: FoxPro, dBase, Clipper, etc.
January 5th, 2003, 01:36 PM
Benefits of python.
Python is a powerful programming language for a variety of reasons. It is object oriented, easy to maintain and debug, has a vast array of libraries ( inclkuding cgi, xmi, regex, etc. ). You can use it for client server apps. and Db projects quite easily. You'll need to download the mysql module from sourceforge first however. As far as other databases are concerned, I think it can connect to most of them ( similar to PHP ).
Hope this helps,
January 5th, 2003, 02:50 PM
Thank you all!
Thank you for your info. I got Python is enough powerfull programming language. I installed it on my machine and run a couple of scripts. But I noticed they was running relatively slowly. Is it possible?
January 5th, 2003, 10:12 PM
Er, yeah it's possible - depends on the script, machine, version of python, etc. Yes, Python is slower than C ... but beyond that, it really depends on what you are doing with the language to determine its relative speed.
February 13th, 2003, 10:33 AM
Is bittorrent written in Python?
February 13th, 2003, 01:39 PM