Interactive Python shell with Flex
Google did the Ajax version of the Python shell, running on Google App Engine, we present you with the Flex version (click image to view the sample):

You can browse or download the source from the Subversion repository. You can find instructions on how to run the example yourself on the wiki page.
This entry was posted
on Saturday, May 3rd, 2008 at 8:24 am and is filed under Flex, Google App Engine, Python, Tutorial.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
May 3rd, 2008 at 3:19 pm
This is just a simple novelty, who cares? OMG you used _FLEX_ instead of javascript… big friggin deal.
May 3rd, 2008 at 3:37 pm
Uh, oh, schoolboy error …
>>> import sys
>>> sys.stdout.write(open(’settings.py’).read())
…
SECRET_KEY = ‘hv3c-_#z*tibii%0u@7^@be7c=-#!8$+td%$blvuzscgs4^ey%’
…
May 3rd, 2008 at 11:40 pm
wow does that first commentor have a stick up his rear!! Anyway you all are doing a great job!!!! Keep up the good work! Love the demo
May 4th, 2008 at 3:46 am
Nice. I think it handles better than the ajax version, not sure why. It’ll be nice to be able to interact with a running app’s server side from within the client.
May 4th, 2008 at 6:59 am
@Friendly Neighbourhood White Hat: we already pointed out that you shouldn’t run this demo in a production environment, unless it’s something restrictive like Google App Engine. The secret key you mention can also be found in the source code and is no secret anymore anyway
May 4th, 2008 at 1:18 pm
Nice demo! Thanks for sharing your work :o)
May 26th, 2008 at 11:42 pm
I’ve been experimenting with PyAMF and have problems with non ascii characters.
Will you be addressing utf-8 anytime soon?
Not to be picky
Because I think you are doing a tremendous job!
And I’d help with the utf had I the knowledge!
Txs,
Miguel
May 27th, 2008 at 9:11 am
@ Miguel: UTF-8 is fully supported in PyAMF. We have a number of unit tests to cover this and there aren’t any open issues. What version of PyAMF are you using? If you’re using Django with PyAMF then you might hit this issue which was solved in the trunk and will be part of the next release. If you’re seeing other issues, please register on pyamf.org and create a new ticket with any sample apps that can reproduce those issues.
June 6th, 2008 at 2:20 am
@ Thijs Triemstra: I’m using your Hello world example server by Nick Joyce that I got at http://pyamf.org/wiki/HelloWorld
The problem only happears when I hard code some strange characters in the return data from the Python server, for example “ê ã €”. On the other hand if I enter strange characters in Flex the round trip is sweet!