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

Python and Javascript

Tom Yanas
Greenhorn

Joined: Feb 16, 2012
Posts: 3
I am trying to compare Javascript and Python. I know Javascript and am interested in learning Python. Is Python similar to Javascript? How different/similar is the language?
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1706
    
  14

One difference is that JavaScript runs in your browser, while Python (in a web app) runs on the server.


No more Blub for me, thank you, Vicar.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61206
    
  66

chris webster wrote:One difference is that JavaScript runs in your browser

There are many standalone JavaScript engines.



[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

chris webster wrote:One difference is that JavaScript runs in your browser, while Python (in a web app) runs on the server.

Standalone JavaScript is the very heart of Node.js and there are many JavaScript server-side web frameworks.
Rhino and Google V8 are well known standalone JavaScript engines (even JDK 1.6 has an embedded Rhino engine).
chris webster
Bartender

Joined: Mar 01, 2009
Posts: 1706
    
  14

I am now just a little bit wiser - thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Python and Javascript