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


Groups > comp.lang.python > #64288

Re: graphical python

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.064
X-Spam-Evidence '*H*': 0.87; '*S*': 0.00; 'python.': 0.02; 'mind,': 0.09; 'python': 0.11; 'jan': 0.12; 'debug)': 0.16; 'javascript)': 0.16; 'pygame': 0.16; 'pyqt,': 0.16; 'reproduce': 0.16; 'subject:python': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'projects,': 0.19; 'python?': 0.22; 'creating': 0.23; 'this?': 0.23; 'algorithms.': 0.24; 'question': 0.24; 'header:In- Reply-To:1': 0.27; 'on,': 0.29; 'compared': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; '(which': 0.31; 'code': 0.31; 'page.': 0.31; 'clock': 0.31; 'anyone': 0.31; 'probably': 0.32; 'quite': 0.32; 'becomes': 0.33; 'guess': 0.33; 'projects.': 0.33; "i'd": 0.34; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'should': 0.36; 'example,': 0.37; 'two': 0.37; 'project': 0.37; 'limited,': 0.38; 'stable': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; 'how': 0.40; 'even': 0.60; 'algorithms': 0.60; 'browser': 0.61; 'success': 0.61; 'complete': 0.62; 'more': 0.64; 'within': 0.65; 'surrounding': 0.68; 'buck': 0.84; 'compiles': 0.84; 'forks': 0.84; 'pyjamas': 0.84; 'route': 0.84; 'graphical': 0.91; 'dream': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=RprzXDJ0y6UfPRJZzzCMRwCOdFVk84GTdQ1noEMYVT4=; b=abYb5OO2mW5bnxo3inVggX0alSATPo3YXMROIcRW2wp1kLDM87/qFcog5P4E89EkW8 VmneWWnTlbr2NcxdC+qDhYWRYcjmmao6LXPedv7+oHjpU/zREm5N+2h9Wa7D1Y/QjvdO mttVESJbZ0JfDVa7yIuL4ro6nzlIWx2bMWQOA8dr85Qqgnut9wzMHh853AKh2Ys6weWr 81WP0lpsYcgBiwby9581/ypSKd5E49YEgXyiNC2iJMGUC3MYQgX2kwlNb65WziKdTfjO VOL4UUKxgSUIvnHiuuJcSW53JTQ6bEzvh5vAJn15JcfgSHidT9I4HxlnGI6ydc6i6p1x KY/g==
X-Received by 10.66.226.46 with SMTP id rp14mr254861pac.133.1390119609349; Sun, 19 Jan 2014 00:20:09 -0800 (PST)
MIME-Version 1.0
In-Reply-To <6ab6e315-78e1-4f14-9925-16bd9a4a0199@googlegroups.com>
References <6ab6e315-78e1-4f14-9925-16bd9a4a0199@googlegroups.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Sun, 19 Jan 2014 01:19:29 -0700
Subject Re: graphical python
To Python <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.5704.1390120021.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1390120021 news.xs4all.nl 2953 [2001:888:2000:d::a6]:59911
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:64288

Show key headers only | View raw


On Sat, Jan 18, 2014 at 10:40 PM, buck <workitharder@gmail.com> wrote:
> I'm trying to work through Skienna's algorithms handbook, and note that the author often uses graphical representations of the diagrams to help understand (and even debug) the algorithms. I'd like to reproduce this in python.
>
> How would you go about this? pyQt, pygame and pyglet immediately come to mind, but if I go that route the number of people that I can share my work with becomes quite limited, as compared to the portability of javascript projects.
>
> I guess my question really is: has anyone had success creating an interactive graphical project in the browser using python?
>
> Is this a dream I should give up on, and just do this project in coffeescript/d3?

You should be able to do something without much fuss using HTML 5 and
either Pyjamas (which compiles Python code to Javascript) or Brython
(a more or less complete implementation of Python within Javascript).
For example, see the clock demo on the Brython web page.

Pyjamas is the more established and probably more stable of the two
projects, but you should be aware that there are currently two active
forks of Pyjamas and some controversy surrounding the project
leadership.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

graphical python buck <workitharder@gmail.com> - 2014-01-18 21:40 -0800
  Re: graphical python Ian Kelly <ian.g.kelly@gmail.com> - 2014-01-19 01:19 -0700
    Re: graphical python buck <workitharder@gmail.com> - 2014-01-19 11:30 -0800
      Re: graphical python Ian Kelly <ian.g.kelly@gmail.com> - 2014-01-19 13:20 -0700
  Re: graphical python Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-01-19 12:13 +0100

csiph-web