python for export tutorial