CherryPy tutorial

Remi Delon

remi@cherrypy.org

http://www.cherrypy.org

Introduction

Brief history of CherryPy

Hello, world

Hello, you

Configuring CherryPy

Url -> object mapping

Using OOP

Handling file uploads

Manipulating cpg.request and cpg.response

Using generators

Using filters

Using sessions

Deploying your site for production

What's not included in CherryPy

References

Near future of CherryPy

  • CherryPy-2.1 coming out soon (*lots* of new features)
  • CherryPy book (online only for now) coming soon
  • Lots of activity at the moment ... More and more contributors
  • But we could still use more: feel free to help :-)

Any questions ?