• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Scope of Python

 
Greenhorn
Posts: 20
Eclipse IDE Oracle Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 5
Python Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 2407
36
Scala Python Oracle Postgres Database Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
That's a very big dog. I think I want to go home now and hug this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic