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:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old January 16th, 2002, 05:21 AM
Datamike's Avatar
Datamike Datamike is offline
Web Developer
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2001
Location: Finland
Posts: 719 Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 11 h 27 m 33 sec
Reputation Power: 9
Porpuses of Python

I've been reading the Python documentation, and trying figure out whether to try it out or not. I'm puzzled about the fact that Python is a interpreted OOP language, meaning that it basicly is a scripting language. Still, for what I've been reading, Python is used to create standalone applications. There has been sections covering the use of it to make CGI scripts, but that's not what I'm intrested in. I wanted to make a clafication about the porpuses of Python; do you use GTK to make the Python scripts standalone or how is it basicly done?
__________________
-- Tomi Kaistila
-- Developer's Journal

The more you learn, the more you know.
The more you know, the more you forget.
The more you forget, the less you know.

Reply With Quote
  #2  
Old January 16th, 2002, 06:41 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
When compared to another language, Python is most often compared to Perl. The majority of things you can do in one language you can do in the other as well. Most people agree that the syntax of Python is easier to understand. Also that the OO features of Python are easier to use.

If you have time, you might want to read this Linux Journal article:
http://www.linuxjournal.com/article.php?sid=3882

I'm not a Python expert. I've used Perl more. Learning Python is one of the (many) items on my to-do list. Hopefully these links will help answer some of your questions.

Reply With Quote
  #3  
Old January 16th, 2002, 06:50 AM
Datamike's Avatar
Datamike Datamike is offline
Web Developer
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2001
Location: Finland
Posts: 719 Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level)Datamike User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 11 h 27 m 33 sec
Reputation Power: 9
Thumbs up Graditude

Thank you dcaillouet. Your intro and links were indeed very helpful

Reply With Quote
  #4  
Old January 16th, 2002, 10:07 AM
spackbace spackbace is offline
graphics monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Georgia Tech, Atlanta, GA
Posts: 71 spackbace User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 21 sec
Reputation Power: 7
Send a message via AIM to spackbace
Actually, I really don't like Python's syntax, and I think its harder to read. I like having brackets around my function bodies and I like having semicolons to indicate the end of a line -- its so much harder to figure out whats going just based on "well this line is indented more than this line" or "here's some whitespace". Its just not very structured, and that leads to a lot of annoying errors.
__________________
Brian

Reply With Quote
  #5  
Old January 18th, 2002, 05:22 AM
Taradino Taradino is offline
Python Prophet
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Amersfoort, The Netherlands
Posts: 45 Taradino User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Quote:
Originally posted by spackbace
Actually, I really don't like Python's syntax, and I think its harder to read. I like having brackets around my function bodies and I like having semicolons to indicate the end of a line -- its so much harder to figure out whats going just based on "well this line is indented more than this line" or "here's some whitespace". Its just not very structured, and that leads to a lot of annoying errors.
I guess you should stick to Perl or Ruby then.
Although it does take some getting used to, overall it's easier and faster. Because there are only minimal differences in coding style, most programs are easier to read. Also this takes up much less screen space, which is a valuable thing.

Take a look here for the reasons why GvR chose this style.
__________________
Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems. - Jamie Zawinski, in comp.lang.emacs

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Porpuses of Python


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway