File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Languages and the fly likes Python?? Huh? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Python?? Huh?" Watch "Python?? Huh?" New topic

Python?? Huh?

Ali Gilani
Ranch Hand

Joined: Mar 01, 2002
Posts: 137
What exactly is python? what is it used for? why does google use it??

better than jsp?

M Beck
Ranch Hand

Joined: Jan 14, 2005
Posts: 323
Originally posted by Ali Gilani:
What exactly is python? what is it used for?

Python is a byte-compiled, interpreted scripting language down the lines of Perl or Ruby. it's perhaps most popular on Unix-like operating systems, but i know from experience it works just fine on Windows too. it's used for a lot of things - web development, rapid application development, prototyping, glue code, GUIs on top of legacy apps, just for a few. oh yeah, and it's also a surprisingly good teaching language for teaching beginning programming and OOP concepts.

it's very much OO (in fact, myself, i happen to think it's more OO than Java), fairly high level (very nice to write in), dynamically and strongly typed, and good for interactive hacking (it's got an interactive toplevel you can actually get good work done in). it's also got a fairly well stocked standard library, with lots of modules for internet development, web development, numerical code, and GUI code, among other things. i like it, in case you couldn't tell.

why does google use it??

you'd have to ask Google. but if i had to guess, i'd say most likely because it's easy to learn, easy to use, and powerful.

better than jsp?

i wouldn't really know, since i don't know JSP, unfortunately. but i suspect the answer is, "it depends on what you want to use it for".
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Also, Python is a lot easier to integrate with native code than, say, Java.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: Python?? Huh?
It's not a secret anymore!