Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old January 2nd, 2003, 05:05 PM
apatit_ru apatit_ru is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 86 apatit_ru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 50 sec
Reputation Power: 8
Send a message via ICQ to apatit_ru Send a message via Yahoo to apatit_ru
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.

Reply With Quote
  #2  
Old January 2nd, 2003, 07:39 PM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
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
__________________
Debian - because life's too short for worrying.
Best. (Python.) IRC bot. ever.

Reply With Quote
  #3  
Old January 3rd, 2003, 07:14 AM
apatit_ru apatit_ru is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 86 apatit_ru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 50 sec
Reputation Power: 8
Send a message via ICQ to apatit_ru Send a message via Yahoo to apatit_ru
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).

Reply With Quote
  #4  
Old January 3rd, 2003, 08:18 PM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
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)

Reply With Quote
  #5  
Old January 4th, 2003, 12:35 AM
apatit_ru apatit_ru is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 86 apatit_ru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 50 sec
Reputation Power: 8
Send a message via ICQ to apatit_ru Send a message via Yahoo to apatit_ru
Quote:
Originally posted by Strike
never heard of dbf


Maybe there are some additional unit to support this?

Reply With Quote
  #6  
Old January 4th, 2003, 12:56 AM
apatit_ru apatit_ru is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 86 apatit_ru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 50 sec
Reputation Power: 8
Send a message via ICQ to apatit_ru Send a message via Yahoo to apatit_ru
Quote:
Originally posted by Strike
never heard of dbf


You know, I found 2 classes for working with it using Google. They are there http://www.vex.net/parnassus/apyllo.py/973100124

Reply With Quote
  #7  
Old January 4th, 2003, 10:30 AM
dcaillouet's Avatar
dcaillouet dcaillouet is offline
Big Endian
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2001
Location: Fly-over country
Posts: 1,173 dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 16 h 29 m 5 sec
Reputation Power: 24
Quote:
Originally posted by Strike
never heard of dbf
FYI - .dbf is the file format for xBase type databases: FoxPro, dBase, Clipper, etc.

Reply With Quote
  #8  
Old January 5th, 2003, 01:36 PM
CaitlinG CaitlinG is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Posts: 9 CaitlinG User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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.

Reply With Quote
  #9  
Old January 5th, 2003, 02:50 PM
apatit_ru apatit_ru is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 86 apatit_ru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 50 sec
Reputation Power: 8
Send a message via ICQ to apatit_ru Send a message via Yahoo to 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?

Reply With Quote
  #10  
Old January 5th, 2003, 10:12 PM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
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.

Reply With Quote
  #11  
Old February 13th, 2003, 10:33 AM
GH_Retro GH_Retro is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 10 GH_Retro User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Is bittorrent written in Python?

Reply With Quote
  #12  
Old February 13th, 2003, 01:39 PM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
Quote:
Originally posted by GH_Retro
Is bittorrent written in Python?

From the BitTorrent FAQ
Quote:
What language is BitTorrent written in?

Python

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Python benefits


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |