• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Python and Javascript

 
Tom Yanas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One difference is that JavaScript runs in your browser, while Python (in a web app) runs on the server.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65122
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
chris webster wrote:One difference is that JavaScript runs in your browser

There are many standalone JavaScript engines.

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am now just a little bit wiser - thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic