homepage Welcome to WebmasterWorld Guest from 54.197.171.109
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Python, what makes you use it?
littleman




msg:914199
 12:17 am on Aug 31, 2002 (gmt 0)

I know Bird is a python guy. Anyone else? What about one of you Google lurkers? I know the Google folks like Python.

What is it about Python that makes you use it instead of other scripting languages? It seems to be neck and neck with perl as far as execution time, though I've read some articles that claim that perl is slightly faster. Python seems to be a very procedural language, is that it's appeal?

From looking at the code it looks considerably different than C or perl code, would you say the syntax is easy to pick up?

Note: I put this in the *nix section instead of the scripting section because Python does not seem to be used much in cgi applications, though I may just be ignorant of this.

 

martin




msg:914200
 8:36 am on Sep 1, 2002 (gmt 0)

It has a very nice syntax, it also forces people into using coding standards like indentation.

I don't like Perl because you simply can't understand anything that has been written by somebody else.

danny




msg:914201
 8:48 am on Sep 1, 2002 (gmt 0)

Python seems to me to be "cleaner" than Perl. Python was more "designed" while Perl kind of "grew"...

brotherhood of LAN




msg:914202
 8:49 am on Sep 1, 2002 (gmt 0)

It has a very nice syntax

Most definetely. I've been trying to pick up python,PHP,perl slowly, knowing they do similar things and although I've picked up a tad more of PHP - python seems very easy to learn and their documentation is excellent.

Hopefully this will "make me" use it :)

Duckula




msg:914203
 10:14 am on Sep 1, 2002 (gmt 0)

It's very easy to extend an existing C app using Python, just create a struct defining the new functions, make up the C function that will correspond to the Python call, include a call to Py_Initialize() at main and you're done.

I has lots of libraries available, you can even create a gtk app without touching C code using the python-gtk module.

littleman




msg:914204
 6:53 am on Sep 2, 2002 (gmt 0)

Thanks for the input guys. From what Iíve been reading it seems to come down to code quality and the ability of one python programmer to comprehend what the other is doing.

I thought this was an interesting link.
[python.org...]
Iím not ready to give up on perl, it took me long enough to lean it ;), but I might try to do a little python coding to see how I like it.

Duckula, Iíve been using ftpcube, which is a python/Gtk ftp client much like leechftp. Itís a nice high quality app, so I know the potential is there.

Perl also has access to the Gtk, but it looks a lot less developed than perl/TK. Or Python/Gtk.

martin




msg:914205
 9:28 am on Sep 2, 2002 (gmt 0)

>python seems very easy to learn and their documentation is excellent.

Nah, I think PHP's docs are a lot better. It's a lot easier to find something there.

Josk




msg:914206
 8:22 am on Sep 6, 2002 (gmt 0)

Has anyone tried Jython...? Its Python mixed with Java and boss whats me to use it. Personally I prefer Perl...

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved