Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Introduction

nanonyme edited this page Mar 2, 2011 · 3 revisions

Introduction

Foreword

I wasn't able to find a Python event loop that wasn't bound to GUI development patterns or didn't have an insane learning curve to use so I decided to write my own

SimpleLoop is very simple and if you find you're building an application with a main loop, you might probably just as well replace it with this one. SimpleLoop allows you to queue events to be processed and it also allows you to setup a default event to be processed every time the queue is idle. I strongly recommend the default event to never cause itself to be sent, this might cause infinite loops.

Clone this wiki locally