Category Archives: Python

Concurrent tree crawler

I needed an application to crawl a web site containing archive issues of certain magazines and download selected articles. To access the site, you had to log in using a web form. The web site was constructed in a hierarchical … Continue reading

Posted in Python | Tagged | 1 Comment

Reader-Writer lock with priority for writers in Python

I needed a reader-writer lock to use in the second readers-writers problem with python threads. In this problem, many readers can simultaneously access a share, and a writer has an exclusive access to this share. Additionally, the following constraints should … Continue reading

Posted in Python | 4 Comments