Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7836
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <timr@probo.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.017 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'singh': 0.07; 'python': 0.08; 'to:name:python-list@python.org': 0.09; 'syntax': 0.11; 'wrote:': 0.14; '(well,': 0.16; 'vectors': 0.16; 'wouldnt': 0.16; 'language': 0.18; 'planet': 0.19; 'header :In-Reply-To:1': 0.21; 'right.': 0.22; 'windows': 0.26; 'installed': 0.28; 'enabled': 0.30; 'xhtml': 0.30; 'done': 0.32; 'to:addr:python-list': 0.33; 'machine': 0.33; 'too': 0.33; 'however,': 0.34; 'that,': 0.34; 'option': 0.35; 'there': 0.35; 'header:User-Agent:1': 0.35; 'widespread': 0.35; 'running': 0.37; 'subject:from': 0.38; 'but': 0.38; 'subject:: ': 0.38; 'some': 0.38; 'received:192': 0.38; 'to:addr:python.org': 0.39; 'more': 0.60; 'virus:<script': 0.64; 'dangerous': 0.65; 'browser,': 0.67; 'emphasize': 0.91 |
| Date | Fri, 17 Jun 2011 10:07:07 -0700 |
| From | Tim Roberts <timr@probo.com> |
| Organization | Providenza & Boekelheide, Inc. |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 |
| MIME-Version | 1.0 |
| To | "python-list@python.org" <python-list@python.org> |
| Subject | Re: Run Python script from JS |
| References | <5346fc8e-9807-4752-bd3f-d4278e008379@y2g2000yqk.googlegroups.com> <mdulv6hbv8ci0dpe51cl23f1e0ciu95oil@4ax.com> <BANLkTimixKbVEMGxVY-x_5qm8YqK=8uHEQ@mail.gmail.com> |
| In-Reply-To | <BANLkTimixKbVEMGxVY-x_5qm8YqK=8uHEQ@mail.gmail.com> |
| X-Enigmail-Version | 1.1.1 |
| Content-Type | text/plain; charset="windows-1252" |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.82.1308330433.1164.python-list@python.org> (permalink) |
| Lines | 17 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1308330433 news.xs4all.nl 49183 [::ffff:82.94.164.166]:33709 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:7836 |
Show key headers only | View raw
Hansmeet Singh wrote: > for xhtml wouldnt the syntax be <script type = "text/python">?? > or am i on some other planet No, you're right. Before you get too excited, however, I want to emphasize how limited this option is. This will ONLY work if Python has been installed on the machine running the browser, AND if Python has been enabled as an ActiveScripting language on that machine. The Windows Python installations have the ability to do that, but it is not done automatically because the security implications are not fully understood. (Well, more precisely, there are known attack vectors that make it too dangerous for widespread deployment.) -- Tim Roberts, timr@probo.com Providenza & Boekelheide, Inc.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Run Python script from JS Gnarlodious <gnarlodious@gmail.com> - 2011-06-16 15:11 -0700
Re: Run Python script from JS Chris Rebert <clp2@rebertia.com> - 2011-06-16 16:55 -0700
Re: Run Python script from JS Tim Roberts <timr@probo.com> - 2011-06-16 23:53 -0700
Re: Run Python script from JS Tim Roberts <timr@probo.com> - 2011-06-17 10:07 -0700
Re: Run Python script from JS Daniel Kluev <dan.kluev@gmail.com> - 2011-06-17 18:36 +1100
csiph-web