PyOpinion: Does Python Programming Marginalize You?
Ivan Van Laningham
ivanlan at home.com
Tue Jun 6 13:44:54 EDT 2000
More information about the Python-list mailing list
Tue Jun 6 13:44:54 EDT 2000
- Previous message (by thread): PyOpinion: Does Python Programming Marginalize You?
- Next message (by thread): PyOpinion: Does Python Programming Marginalize You?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi All- Tim Peters wrote: > > [Michael Hudson] > > ... > > Tangentially, does anybody know of any implementations of JavaScript > > (not necessarily connected to a browser) that let you type interactive > > commands into a listener and genereally muck about with the language? > > Unsure about NS, but under IE5 you can type JavaScript expressions directly > into the address bar (as if entering a URL), but prefixed with > "javascript:". For example, type this in: > > javascript: 1+2 > > then hit ENTER; IE5 echoes back > > javascript:%201+2 > > in the address bar and displays > > 3 > > in the main window. Netscape echoes back the javascript: 1+2 line in the address bar, and does indeed display '3' in the main window. > Unfortunately(?), vrbl assignments do not persist, so > you're really limited to a single line of expressions: > > javascript: x=3; y=4; x*x+y*y > > So the answer to your question is "no" <wink>. However, as with the Python > shell, it's a convenient way to see what a line of JS does. > > not-sure-this-new-fangled-web-stuff-will-ever-catch-on-ly y'rs - tim > <funny-thing-for-a-'bot-to-say>-ly y'rs, Ivan ---------------------------------------------- Ivan Van Laningham Axent Technologies, Inc. http://www.pauahtun.org http://www.foretec.com/python/workshops/1998-11/proceedings.html Army Signal Corps: Cu Chi, Class of '70 Author: Teach Yourself Python in 24 Hours
- Previous message (by thread): PyOpinion: Does Python Programming Marginalize You?
- Next message (by thread): PyOpinion: Does Python Programming Marginalize You?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list