aspose file tools*
The moose likes Jython/Python and the fly likes Scope of Python Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "Scope of Python" Watch "Scope of Python" New topic
Author

Scope of Python

Sid Singh
Greenhorn

Joined: Jun 14, 2010
Posts: 20

Hi,

I have a question regarding the scope of Python when compared to a full fledged language like Java.
As per what i have know scripting languages are a bit restricted in their scope and so their usage is somewhat constrained.

Can Python be used for pretty much everything or there are things where Python should really be avoided.
Since i am a newbie in Python so please spare me if i am trying to snatch thin air .

Thanks


OCPJP 6, SCWCD In Progress
Marco Schrank
Greenhorn

Joined: Mar 05, 2011
Posts: 5

Hello,

imho you can use python for everything. Some fields make more sense, others make less sense.
I wouldn't implement a large scale equation solver in python, but rather in C or Fortran.
But you have the opportunity to use every java package with jython or you can port the crucial
parts with respect to performance to C/Fortran. Same works for IronPython and .net.
If you wanna see what is possible, have a look at numpy, scipy, matplotlib or sympy.
Those are more science related packages but you can find the same quality in other fields.
Python is easy but powerfull. Just compare the way Python deals with Reflection with the Java way
for example. Same holds for lists ...


Yours,
Marco
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1650
    
  14

There's a couple of free books available online at the Green Tea Press illustrating how Python can be used in specialist areas:

Think Complexity - "about complexity science, data structures and algorithms, intermediate programming in Python, and the philosophy of science".

Think Stats - "an introduction to Probability and Statistics for Python programmers".

I think both of these are based on/inspired by the free Python book How To Think Like A Computer Scientist.


No more Blub for me, thank you, Vicar.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Scope of Python