Re: Running Python Demo on the Web?

2011-09-07 Thread Laurent
Neat. But I can see some print(x) and some print x. What is the Python 
version?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Running Python Demo on the Web?

2011-09-07 Thread Sahil Tandon
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 sa...@freebsd.org
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Running Python Demo on the Web?

2011-09-06 Thread Colin J. Williams

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.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Running Python Demo on the Web?

2011-09-06 Thread becky_lewis
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?
-- 
http://mail.python.org/mailman/listinfo/python-list


Running Python Demo on the Web?

2011-09-05 Thread Python Fiddle Admin
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.
-- 
http://mail.python.org/mailman/listinfo/python-list