Category Programming

Running an FTP server on the N97

Introduction Transferring files with bluetooth or via USB is practical, but I have been often wondering how practical it would be to transfer using FTP. FTP is supported pretty much everywhere. I recently played with PyS60 – A Python implementation…

Python singleton pattern

After a quick search where I didn’t find a singleton implementation for new-style classes in Python. For classic classes there’s the excellent Borg pattern. So here’s singleton for new-style classes: class Singleton(object): __instance = None @classmethod def getInstance(cl): “”” Get…