Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Visual Python programming and decompilers?

13 views
Skip to first unread message

Ludolph

unread,
Mar 11, 2010, 1:38:56 PM3/11/10
to pytho...@python.org
Hi Guys

At work I have been exposed to a Agile Platform called OutSystems. It
allows you to visually program your web applications
http://i.imgur.com/r2F0i.png and I find the idea very intriguing.

So I have started to play around with the idea on how will I be able
to visually represent Python code as in the above image and then allow
the programmer to change some of the flow/code/logic visually and then
get it back as python source code. I don't know if this have been
tried before and after some googling I can't find anything like this,
so maybe I'm just lacking basic googling skills or a python solution
like the above does not exist yet.

If anybody knows of such solution please let me know, so that I don't
spend a lot of time recreating the wheel. Otherwise help me out on the
following problem:

I decided I can use byteplay3 http://pypi.python.org/pypi/byteplay/ to
disassemble the code to workable objects, It even allows me to rebuild
the objects to bytecode. So if I define patterns on how python
interrupts the source code to bytecode I can visually represent this
and also so convert my visual representations back to bytecode.

The only problem I have at the moment is how will I get this bytecode
back to python source code. I have googled for python decompiler but
only found old projects like unpyc, decompyle and some online
services. I would like to know if anybody know of a well maintained or
at least recent module that can help me accomplish the above
mentioned, because I'm hoping I can implement this in Python 3.1.

So any input or suggestion would be greatly appreciated.

Kind Regards,

--
Ludolph Neethling

Stef Mientki

unread,
Mar 11, 2010, 3:17:09 PM3/11/10
to pytho...@python.org
On 11-03-2010 19:38, Ludolph wrote:
> Hi Guys
>
> At work I have been exposed to a Agile Platform called OutSystems. It
> allows you to visually program your web applications
> http://i.imgur.com/r2F0i.png and I find the idea very intriguing.
>
>
Although not as low level as you want,
http://mientki.ruhosting.nl/data_www/pylab_works/pw_animations_screenshots.html
http://code.google.com/p/pylab-works/
and here an overview of similar packages

cheers,
Stef

geremy condra

unread,
Mar 11, 2010, 3:16:26 PM3/11/10
to Ludolph, pytho...@python.org
On Thu, Mar 11, 2010 at 1:38 PM, Ludolph <lud...@openhazel.co.za> wrote:
> Hi Guys
>
> At work I have been exposed to a Agile Platform called OutSystems. It
> allows you to visually program your web applications
> http://i.imgur.com/r2F0i.png and I find the idea very intriguing.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

Maybe something like http://www.pypes.org/?

They were at pycon and sounded pretty into what they were
talking about- I'd send them an email.

Geremy Condra

Billy Earney

unread,
Mar 12, 2010, 11:18:59 AM3/12/10
to Ludolph, pytho...@python.org
Ludolph,

This reminds me of the orange project which is developed in python.
http://www.ailab.si/orange/
It is actually for data mining, but many of the concepts could be used for a
more general programming structure.

Billy

Tim Wintle

unread,
Mar 12, 2010, 11:36:32 AM3/12/10
to Ludolph, pytho...@python.org
On Thu, 2010-03-11 at 20:38 +0200, Ludolph wrote:
>
> I decided I can use byteplay3 http://pypi.python.org/pypi/byteplay/ to
> disassemble the code to workable objects, It even allows me to rebuild
> the objects to bytecode. So if I define patterns on how python
> interrupts the source code to bytecode I can visually represent this
> and also so convert my visual representations back to bytecode.

Assuming you're on 2.6 or later, I'd suggest working with the ast module
instead:
http://docs.python.org/library/ast.html

0 new messages