Multi-platform python tips