Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Python and Javascript  RSS feed

 
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
36
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
Posts: 66207
151
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
36
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!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!