Pygment Example

Note: work in progress. See #259

This page describes how to setup the Pygments example application using AIR and Pylons.
Check the PylonsHowto page for more info on using Pylons with PyAMF.

Introduction

....

This example demonstrates how to:

  • ....

Download

Grab the example from SVN with:

svn co http://svn.pyamf.org/examples/sandbox/pygment pygment-example
cd pygment-example/python

Alternatively, if you just want to have a look, you can browse the example online.

Gateway

The remoting gateway for the Flash/AMF client starts on http://localhost:5000 when you launch
the development server:

...

Note: make sure you have Pylons >= 0.9.6 installed.

You should see something like:

....

Clients

AIR

You can simply open the SWF file and it will connect to http://localhost:5000.

Python

client.py output:

...