The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Python Programming
|
Python benefits
Discuss Python benefits in the Python Programming forum on Dev Shed. Python benefits Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 2nd, 2003, 05:05 PM
|
|
Contributing User
|
|
Join Date: Apr 2001
Posts: 88
Time spent in forums: 3 h 24 m 14 sec
Reputation Power: 13
|
|
|
Python benefits
Hello there!
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?
TIA
PS: Sorry my poor English.
|

January 2nd, 2003, 07:39 PM
|
|
Contributing User
|
|
Join Date: Dec 2001
Location: Houston, TX
Posts: 383
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 12
|
|
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
|
|
Contributing User
|
|
Join Date: Apr 2001
Posts: 88
Time spent in forums: 3 h 24 m 14 sec
Reputation Power: 13
|
|
Thank you for your answer!
Quote: Originally posted by Strike
I'm not sure what you mean by "GUI DB applications" however ... could you clarify? |
I meant not console apps for working with desktop databases (not any SQL-servers).
|

January 3rd, 2003, 08:18 PM
|
|
Contributing User
|
|
Join Date: Dec 2001
Location: Houston, TX
Posts: 383
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 12
|
|
Quote: Originally posted by apatit_ru
Thank you for your answer!
I meant not console apps for working with desktop databases (not any SQL-servers). |
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
|
|
Contributing User
|
|
Join Date: Apr 2001
Posts: 88
Time spent in forums: 3 h 24 m 14 sec
Reputation Power: 13
|
|
Quote: Originally posted by Strike
never heard of dbf |
Maybe there are some additional unit to support this?
|

January 4th, 2003, 12:56 AM
|
|
Contributing User
|
|
Join Date: Apr 2001
Posts: 88
Time spent in forums: 3 h 24 m 14 sec
Reputation Power: 13
|
|
|

January 4th, 2003, 10:30 AM
|
 |
Big Endian
|
|
Join Date: May 2001
Location: Fly-over country
|
|
Quote: Originally posted by Strike
never heard of dbf | FYI - .dbf is the file format for xBase type databases: FoxPro, dBase, Clipper, etc.
|

January 5th, 2003, 01:36 PM
|
|
Junior Member
|
|
Join Date: Apr 2002
Posts: 9
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Benefits of python.
Hi apatit_ru.
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,
-Caitlin.
|

January 5th, 2003, 02:50 PM
|
|
Contributing User
|
|
Join Date: Apr 2001
Posts: 88
Time spent in forums: 3 h 24 m 14 sec
Reputation Power: 13
|
|
|
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
|
|
Contributing User
|
|
Join Date: Dec 2001
Location: Houston, TX
Posts: 383
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 12
|
|
Quote: Originally posted by apatit_ru
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? |
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
|
|
Junior Member
|
|
Join Date: Feb 2003
Posts: 10
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Is bittorrent written in Python?
|

February 13th, 2003, 01:39 PM
|
|
Contributing User
|
|
Join Date: Dec 2001
Location: Houston, TX
Posts: 383
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 12
|
|
Quote: Originally posted by GH_Retro
Is bittorrent written in Python? |
From the BitTorrent FAQ
Quote:
What language is BitTorrent written in?
Python |
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|