An advanced course in Python