Python basic (imported from redmine wiki)