Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #12793 > unrolled thread

Running Python Demo on the Web?

Started byPython Fiddle Admin <pythonfiddle@gmail.com>
First post2011-09-05 15:00 -0700
Last post2011-09-08 00:00 -0400
Articles 5 — 5 participants

Back to article view | Back to comp.lang.python


Contents

  Running Python Demo on the Web? Python Fiddle Admin <pythonfiddle@gmail.com> - 2011-09-05 15:00 -0700
    Re: Running Python Demo on the Web? "Colin J. Williams" <cjw@ncf.ca> - 2011-09-06 08:10 -0400
    Re: Running Python Demo on the Web? becky_lewis <bex.lewis@gmail.com> - 2011-09-06 05:01 -0700
    Re: Running Python Demo on the Web? Laurent <laurent.payot@gmail.com> - 2011-09-07 18:40 -0700
      Re: Running Python Demo on the Web? Sahil Tandon <sahil@FreeBSD.org> - 2011-09-08 00:00 -0400

#12793 — Running Python Demo on the Web?

FromPython Fiddle Admin <pythonfiddle@gmail.com>
Date2011-09-05 15:00 -0700
SubjectRunning Python Demo on the Web?
Message-ID<fcb7038a-0e44-45fb-b7e4-1153e6137337@l12g2000yqe.googlegroups.com>
Python has been ported to the web browser at pythonfiddle.com. Python
Fiddle can import snippets of code that you are reading on a web page
and run them in the browser. It supports a few popular libraries.

Another common usage is to post code on the site to allow other people
to play around with it. Also, it can be used to demonstrate a working
program.

[toc] | [next] | [standalone]


#12830

From"Colin J. Williams" <cjw@ncf.ca>
Date2011-09-06 08:10 -0400
Message-ID<mailman.798.1315311045.27778.python-list@python.org>
In reply to#12793
On 05-Sep-11 18:00 PM, Python Fiddle Admin wrote:
> Python has been ported to the web browser at pythonfiddle.com. Python
> Fiddle can import snippets of code that you are reading on a web page
> and run them in the browser. It supports a few popular libraries.
>
> Another common usage is to post code on the site to allow other people
> to play around with it. Also, it can be used to demonstrate a working
> program.
A neat idea.

import brian
dir(brian)

Responds "scipy not available"

Colin W.

[toc] | [prev] | [next] | [standalone]


#12831

Frombecky_lewis <bex.lewis@gmail.com>
Date2011-09-06 05:01 -0700
Message-ID<d002da6b-606a-4e17-a2e8-041fd7215ea1@y21g2000yqy.googlegroups.com>
In reply to#12793
On Sep 5, 11:00 pm, Python Fiddle Admin <pythonfid...@gmail.com>
wrote:
> Python has been ported to the web browser at pythonfiddle.com. Python
> Fiddle can import snippets of code that you are reading on a web page
> and run them in the browser. It supports a few popular libraries.
>
> Another common usage is to post code on the site to allow other people
> to play around with it. Also, it can be used to demonstrate a working
> program.

Looks interesting but you don't appear to have support for most (any?)
of the python core libs. Are you planning on adding more libraries?

[toc] | [prev] | [next] | [standalone]


#12939

FromLaurent <laurent.payot@gmail.com>
Date2011-09-07 18:40 -0700
Message-ID<d1496b92-b010-4499-9687-b13b9b6b52ac@glegroupsg2000goo.googlegroups.com>
In reply to#12793
Neat. But I can see some "print(x)" and some "print x". What is the Python version?

[toc] | [prev] | [next] | [standalone]


#12943

FromSahil Tandon <sahil@FreeBSD.org>
Date2011-09-08 00:00 -0400
Message-ID<mailman.864.1315454430.27778.python-list@python.org>
In reply to#12939
On Wed, 2011-09-07 at 18:40:23 -0700, Laurent wrote:

> Neat. But I can see some "print(x)" and some "print x". What is the
> Python version?

See:

 http://docs.python.org/release/3.2.2/whatsnew/3.0.html#print-is-a-function
 http://www.python.org/dev/peps/pep-3105/

-- 
Sahil Tandon <sahil@FreeBSD.org>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web