[Tutor] Visual Python programming and decompilers?

David Hutto dwightdhutto at yahoo.com
Sat Mar 13 02:21:33 CET 2010


--- On Fri, 3/12/10, spir <denis.spir at gmail.com> wrote:

> From: spir <denis.spir at gmail.com>
> Subject: Re: [Tutor] Visual Python programming and decompilers?
> To: tutor at python.org
> Date: Friday, March 12, 2010, 7:22 AM
> On Fri, 12 Mar 2010 10:19:39 +0200
> Ludolph <ludolph at openhazel.co.za>
> wrote:
> 
> > Hi Guys
> > 
> > I posted the following message on my local pug mailing
> list and
> > someone recommended I post it here.
> > 
> > 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.
> 

I was thinking of a similar project a while back using the game engine in  blender(although I'm sure there's other software, this was something that uses python, and is fun to play/work with), but since there are so many ide's it went to the back burner.

I posted a basic outline of my idea to list a while back, I think I still have a copy of it, but the pseudo code is lost in the digital ether after an os problem.

I'd be interested in working on a project like this with you if you're interested.




> There has been (and probably still are) numerous projects
> around visual programming.
> 
> >  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.
> 
> Don't understand why you work at the bytecode level.
> 
> > Kind Regards,
> > 
> > --
> > Ludolph Neethling
> 
> 
> Denis
> ________________________________
> 
> la vita e estrany
> 
> spir.wikidot.com
> 
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
> 


David


      


More information about the Tutor mailing list